/*
 * Copyright (C) 2010 EPRO
 */
package com.weipu.common.constants;

import android.content.Context;
import android.graphics.Color;

import com.weipu.dx_lib.R;

import java.io.Serializable;
import java.util.HashMap;

/**
 * 服务静态常量
 *
 * @author Administrator
 * @version [1.0, 2010-8-3]
 */
public final class ServerConstant implements Serializable {

    /**
     * @Fields serialVersionUID : （用一句话描述这个变量表示什么）
     */
    private static final long serialVersionUID = 3302713794130562565L;

    /**
     * 参数常量
     *
     * @author Administrator
     * @version [版本号, 2010-9-2]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class Parameter {

        /**
         * 修改地址请求码
         */
        public static final int EDIT_ADDRESS_CODE = 1;

        /**
         * 添加地址
         */
        public static final int ADD_ADDRESS_CODE = 2;

        /**
         * 选择地址
         */
        public static final int CHOOSE_ADDRESS_CODE = 3;

        /**
         * 选择Coupon
         */
        public static final int CHOOSE_COUPON_CODE = 4;
        // 2015-03-09 修改订单--------------------------
        public static final int CHANGE_COUNTRY_REQUESTCODE = 1;

        public static final int CHANGE_COUNTRY_RESULTCODE = 1;

        public static final int CHANGE_SHIPPING_REQUESTCODE = 2;

        public static final int CHANGE_SHIPPING_RESULTCODE = 2;

        // 2015-02-03 订单详情--------------------------

        /**
         * 修改订单请求码
         */
        public static final int EDIT_REQUESTCODE = 1;

        /**
         * 修改订单返回码
         */
        public static final int EDIT_RESULTCODE = 1;

        /**
         * 取消订单
         */
        public static final int CANCEL_RESULTCODE = 2;

        /**
         * 支付
         */
        public static final int PAYMENT_RESULTCODE = 3;

        /**
         * 订单详情
         */
        public static final int ORDER_DETAILS_REQUESTCODE = 1;

        // 2015-02-03 订单详情--------------------------
        /**
         * 全局数据结果参数名称
         */
        public static final String PARAMETER_NAME_STATUS = "Status";

        /**
         * 全局数据结果参数名称
         */
        public static final String PARAMETER_NAME_DATA = "Data";

        public static final String PARAMETER_NAME_URL = "Url";

        /**
         * 全局数据结果参数名称
         */
        public static final String PARAMETER_NAME_CUSTOMER = "Customer";

        /**
         * 全局Token字段
         */
        public static final String PARAMETER_NAME_TOKEN = "Token";

        /**
         * 全局数据错误参数名称
         */
        public static final String PARAMETER_NAME_ERROR = "Error";

        /**
         * 全局数据错误参数名称
         */
        public static final String CONSTANT_OBJ = "Obj";

        /**
         * 全局数据错误参数名称
         */
        public static final String CONSTANT_MESSAGECONTENT = "MessageContent";

        /**
         * 来自Activity
         */
        public static final String PARAMETER_NAME_FROM_ACTIVITY = "fromActivity";

        /**
         * 产品sku
         */
        public static final String PARAMETER_NAME_PRODUCT_SKU = "sku";

        /**
         * 订单商品
         */
        public static final String PARAMETER_NAME_ORDER_ORDERMAP = "orderMap";

        /**
         * 用户配置: isRemember是否勾选
         */
        public static final String PARAMETER_NAME_USER_IS_REMEBER = "isRemember";

        /**
         * 用户配置: account
         */
        public static final String PARAMETER_NAME_USER_ACCOUNT = "account";

        /**
         * 用户配置: email
         */
        public static final String PARAMETER_NAME_USER_EMAIL = "email";

        /**
         * 用户配置: password
         */
        public static final String PARAMETER_NAME_USER_PWD = "pwd";

        /**
         * 用户配置: token
         */
        public static final String PARAMETER_NAME_USER_TOKEN = "token";

        /**
         * 用户配置: token
         */
        public static final String PARAMETER_NAME_IS_LOGIN = "islogin";

        /**
         * 用户配置: Customerid
         */
        public static final String PARAMETER_USER_CUSTOMERID = "customerid";

        /**
         * 用户配置: CurrencyCode
         */
        public static final String PARAMETER_NAME_CURRENCYCODE = "CurrencyCode";
        public static final String PARAMETER_NAME_CURRENCYCODE_SYMBOL = "CurrencyCodeSymbol";


        /**
         *  开发接口鉴权账号
         */
        public static final String PARAMETER_DEV_AUTHENTICATE_PASSWORD = DxConfig.PARAMETER_DEV_AUTHENTICATE_PASSWORD;
        public static final String PARAMETER_DEV_AUTHENTICATE_ACCOUNT = DxConfig.PARAMETER_DEV_AUTHENTICATE_ACCOUNT;


        /**
         * 全局数据结果参数名称
         */
        public static final String PARAMETER_NAME_RESULT = "result";

        /**
         * 是否发生异常
         */
        public static final String PARAMETER_NAME_IS_ERROR = "isError";

        /**
         * action url
         */
        public static final String PARAMETER_NAME_BACK_ACTION = "backAction";

        /**
         * 二级返回action url
         */
        public static final String PARAMETER_NAME_BACK2_ACTION = "back2Action";

        /**
         * 产品id
         */
        public static final String PARAMETER_NAME_PRODUCT_ID = "productId";

        /**
         * 订单号
         */
        public static final String PARAMETER_NAME_ORDER_NUMBER = "orderNumber";
        /**
         * 信用卡支付成功标志
         */
        public static final String PARAMETER_NAME_RESPONSERESULT = "ResponseResult";
        /**
         * 信用卡风控标志
         */
        public static final String PARAMETER_NAME_RISKCONTROLSTATUS = "RiskControlStatus";
        /**
         * 订单金额
         */
        public static final String PARAMETER_NAME_ORDERTOTAL = "OrderTotal";

        /**
         * 订单商品
         */
        public static final String PARAMETER_NAME_TOPSELLERSLIST = "topSellersList";

        /**
         * 订单状态: 处于搜索状态
         */
        public static final String PARAMETER_NAME_ORDER_STATUS_SEARCH = "isFromSearch";

        /**
         * activity退出状态
         */
        public static final String PARAMETER_NAME_ACTIVITY_STATUS = "action_exit_status";

        /**
         * activity退出状态: 没有finish
         */
        public static final String PARAMETER_ACTIVITY_STATUS_NOT_FINISH = "0";

        /**
         * 数据类型: 数据列表
         */
        public static final String PARAMETER_NAME_DATA_LIST = "list";

        /**
         * 数据类型: Model对象
         */
        public static final String PARAMETER_NAME_DATA_MODEL = "model";

        /**
         * 错误信息参数
         */
        public static final String PARAMETER_NAME_ERROR_MSG = "errorMsg";

        /**
         * rpc 返回标识
         */
        public static final String PARAMETER_NAME_RPC_RESULT = "result";

        /**
         * 跳转到 Login 的 Action 标识
         */
        public static final String PARAMETER_NAME_LOGIN_ACTION_TYPE = "loginActionType";

        /**
         * 请求homdData传入的头的名称
         */
        public static final String PARAMETER_NAME_GETHOME_HEADER = "Version";

        /**
         * Action Type: product detail
         */
        public static final int PARAMETER_ACTION_TYPE_PRODUCT_DETAIL = 1;

        /**
         * Action Type: account
         */
        public static final int PARAMETER_ACTION_TYPE_ACCOUNT = 2;

        /**
         * Action Type: wish
         */
        public static final int PARAMETER_ACTION_TYPE_WISH = 3;

        /**
         * Action Type: order detail
         */
        public static final int PARAMETER_ACTION_TYPE_ORDER_DETAIL = 4;

        /**
         * Action Type: login
         */
        public static final int PARAMETER_ACTION_TYPE_LOGIN = 5;

        /**
         * Action Type:mycart
         */
        public static final int PARAMETER_ACTION_TYPE_MYCART = 6;

        /**
         * Action Type:newmain
         */
        public static final int PARAMETER_ACTION_TYPE_NEWMAIN = 7;
        /**
         * Action Type:myAccount
         */
        public static final int PARAMETER_ACTION_TYPE_MYACCOUNT = 8;
        /**
         * Action Type:myCoupon
         */
        public static final int PARAMETER_ACTION_TYPE_MYCOUPON = 9;

        /**
         * Action Type:CouponMarket
         */
        public static final int PARAMETER_ACTION_TYPE_COUPONMARKET = 10;

        /**
         * Action Type:静默登录失败后跳转Login页面
         */
        public static final int PARAMETER_ACTION_TYPE_AUTO_LOGIN_FAIL = 11;

        /**
         * 在MyDx未登录跳转登陆页面时记录并传递点击的条目名称
         */
        public static final String PARAMETER_FROMACOUNTCLICK = "FromAcountClick";

        /**
         * Action Type:product Detial
         */
        public static final int PARAMETER_ACTION_TYPE_PRODUCT_DETIAL = 12;

        /**
         * @描述：消息中心
         */
        public static final int PARAMETER_ACTION_TYPE_MESSAGECENTER = 13;

        /**
         * @描述：从极光推送过来的
         */
        public static final int PARAMETER_ACTION_TYPE_JGRECEIVER = 14;
        /**
         * 是否需要给极光重新发送广播
         */
        public static final String PARAMETER_NAME_IS_NEED_RESEND_JG = "isNeedReSendJg";
    }

    /**
     * 用户模块服务静态常量 webserivce端返回的结果中的字段的名称
     *
     * @author pqp66011
     * @version [版本号, 2012-9-17]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class User {
        // 用户ID
        public static final String CONSTANT_CUSTOMERID = "CustomerId";

        // 用户昵称
        public static final String CONSTANT_USERNAME = "UserName";

        // 用户邮箱
        public static final String CONSTANT_EMAIL = "Email";

        // 密码
        public static final String CONSTANT_PASSWORD = "PassWord";

        // 姓氏
        public static final String CONSTANT_FIRSTNAME = "FirstName";

        // 名字
        public static final String CONSTANT_LASTNAME = "LastName";

        // 性别
        public static final String CONSTANT_GENDER = "Gender";

        // 生日
        public static final String CONSTANT_BIRTHDAY = "Birthday";

        // 国家和地区
        public static final String CONSTANT_COUNTRY = "Country";

        // 用户积分
        public static final String CONSTANT_POINTS = "Points";

        // 受教育程度
        public static final String CONSTANT_EDUCATION = "Education";

        // 婚姻状况
        public static final String CONSTANT_MARITALSTATUS = "MaritalStatus";

        // 兴趣爱好
        public static final String CONSTANT_HOBBY = "Hobby";

        // 收入
        public static final String CONSTANT_INCOME = "Income";

        // 图片地址
        public static final String CONSTANT_PHOTOPATH = "PhotoPath";

        // 接口名
        public static final String CONSTANT_TYPE = "Type";

        // 配置
        public static final String CONSTANT_ENABLE = "Enable";

        // 数据库(缓存)配置开关
        public static final String CONSTANT_ENABLE_DATA_BASE = "EnableDatabase";

        // 有效时间
        public static final String CONSTANT_EXPIRETIME = "ExpireTime";

        // 允许全局内存缓存
        public static final String CONSTANT_ENABLECACHE = "EnableMemCache";

        // 预加载占超时百分比
        public static final String CONSTANT_PRE_LOAD_RATE = "preLoadRate";

        // 允许本地数据
        public static final String CONSTANT_ENABLE_LOCAL_DB_CACHE = "enableLocalDBCache";

        // 允许日志
        public static final String CONSTANT_ENABLE_LOG = "enableLog";

        // 允许预加载
        public static final String CONSTANT_ENABLE_PRE_LOAD = "enablePreLoad";

        // ID
        public static final String CONSTANT_ENTITYID = "EntityID";

        // CacheConfigList
        public static final String CONSTANT_CACHECONFIGLIST = "CacheConfigList";

        //Token
        public static final String CONSTANT_TOKEN = "Token";

    }

    /**
     * 收藏模块静态常量 webserivce端返回的结果中的字段的名称
     *
     * @author hjd008
     * @version [版本号, 2012-10-24]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class Wish {
        public static String CONSTANT_USERNAME = "UserName";

        public static String CONSTANT_SKU = "Sku";

        public static String CONSTANT_PRICE = "Price";

        public static String CONSTANT_LISTPRICE = "ListPrice";

        public static String CONSTANT_SLIDESHOWPICTURETHUMBURL = "SlideShowPictureThumbURL";

        public static String CONSTANT_PRODUCTRATING = "ProductRating";

        public static String CONSTANT_REVIEWCOUNT = "ReviewCount";

        public static String CONSTANT_PRODUCTINFO = "ProductInfo";

        public static String CONSTANT_SHORTHEADLINE = "ShortHeadLine";

        public static String CONSTANT_WISHLISTCOUNT = "WishlistCount";

        public static String CONSTANT_WEBURL = "WebUrl";

        public static String CONSTANT_FREESHIPPING = "FreeShipping";

    }

    /**
     * 地址模块静态常量 webserivce端返回的结果中的字段的名称
     *
     * @author hf
     * @version [版本号, 2012-10-24]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class Address {
        public static String CONSTANT_ADDRESSID = "AddressID";

        public static String CONSTANT_ADDRESSES = "Addresses";

        public static String CONSTANT_ADDRESS = "Address";

        public static String CONSTANT_COUNTRYNAME = "CountryName";

        public static String CONSTANT_FIRSTNAME = "FirstName";

        public static String CONSTANT_LASTNAME = "LastName";

        public static String CONSTANT_COUNTRYCODE = "CountryCode";

        public static String CONSTANT_STATE = "State";

        public static String CONSTANT_CITY = "City";

        public static String CONSTANT_STREET1 = "Street1";

        public static String CONSTANT_STREET2 = "Street2";

        public static String CONSTANT_POSTALCODE = "PostalCode";

        public static String CONSTANT_PHONENUMBER = "PhoneNumber";

        public static String CONSTANT_EMAIL = "email";

        public static String CONSTANT_MOBILEPHONE = "MobilePhone";

        public static String CONSTANT_ISDEFAULT = "IsDefault";

    }

    /**
     * 地址模块静态常量 webserivce端返回的结果中的字段的名称
     *
     * @author hf
     * @version [版本号, 2012-10-24]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class OrderStatus {
        public static String CONSTANT_PENDINGPAYMENT = "PendingPayment";

        public static String CONSTANT_PENDINGDELIVERY = "PendingDelivery";

        public static String CONSTANT_FULLSHIPMENT = "FullShipment";

        public static String CONSTANT_ALLCOUNT = "AllCount";

    }

    /**
     * Catelog的常量标识 webserivce端返回的结果中的字段的名称
     *
     * @author pqp66011
     * @version [版本号, 2012-9-17]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public class Catelog {

        /**
         * 商品目录 ID 字段
         */
        public static final String CONSTANT_ID = "Id";

        /**
         * 商品model
         */
        public static final String CONSTANT_MODEL = "Model";

        /**
         * 商品目录 ShortName 字段
         */
        public static final String CONSTANT_NEWHEADLINE = "NewHeadline";

        /**
         * 商品目录 Icon 字段okoko
         */
        public static final String CONSTANT_ICON = "Icon";

        /**
         * 商品目录 点击后高亮Icon 字段
         */
        public static final String CONSTANT_ICONLIGHT = "IconLight";

        /**
         * 商品目录 子目录
         */
        public static final String CONSTANT_CHILDS = "Childs";
    }

    /**
     * ProductReviews(商品评论)的常量标识 webserivce端返回的结果中的字段的名称
     *
     * @author pqp66011
     * @version [版本号, 2012-9-17]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public class ProductReviews {
        /**
         * 商品回复中 ID 字段
         */
        public static final String CONSTANT_ID = "ID";

        /**
         * 商品回复中 Timestamp 字段
         */
        public static final String CONSTANT_TIMESTAMP = "Timestamp";

        /**
         * 商品回复中 UserName(用户名) 字段
         */
        public static final String CONSTANT_USERNAME = "Username";

        /**
         * CICID
         */
        public static final String CONSTANT_CICID = "CICID";

        /**
         * 商品回复中 SKU(商品编号) 字段
         */
        public static final String CONSTANT_SKU = "SKU";

        /**
         * SKU标题
         */
        public static final String CONSTANT_SKUTITLE = "SKUTitle";

        /**
         * SKU连接地址
         */
        public static final String CONSTANT_SKUURL = "SKUUrl";

        /**
         * 商品回复中 Subject 字段
         */
        public static final String CONSTANT_SUBJECT = "Subject";

        /**
         * 商品回复中Content 字段
         */
        public static final String CONSTANT_CONTENT = "Content";

        /**
         * 商品回复中 Pros(优点) 字段
         */
        public static final String CONSTANT_PROS = "Pros";

        /**
         * 商品回复中 Cons(缺点) 字段
         */
        public static final String CONSTANT_CONS = "Cons";

        /**
         * 商品回复中 OtherThoughts(其它看法) 字段
         */
        public static final String CONSTANT_OTHERTHOUGHTS = "OtherThoughts";

        /**
         * 商品回复中 BottomLine(结论) 字段
         */
        public static final String CONSTANT_BOTTOMLINE = "Bottomline";

        /**
         * 商品回复中 PriceRating(价格评价(1-5)) 字段
         */
        public static final String CONSTANT_PRICERATING = "PriceRating";

        /**
         * 商品回复中 EaseOfUseRating(易用性评价(1-5)) 字段
         */
        public static final String CONSTANT_EASEOFUSERATING = "EaseOfUseRating";

        /**
         * 商品回复中 BuildQualityRating (制作质量评价(1-5))字段
         */
        public static final String CONSTANT_BUILDQUALITYRATING = "BuildQualityRating";

        /**
         * 商品回复中 ValueRating(价值评价(1-5)) 字段
         */
        public static final String CONSTANT_VALUERATING = "ValueRating";

        /**
         * 商品回复中 OverallRating(总体评价(1-5)) 字段
         */
        public static final String CONSTANT_OVERALLRATING = "OverallRating";

        /**
         * 商品回复中 TechLevel(作者对产品的了解程度) 字段
         */
        public static final String CONSTANT_TECHLEVEL = "TechLevel";

        /**
         * 商品回复中(对此物品的持有状态，如：三年，四年等)字段
         */
        public static final String CONSTANT_OWNERSHIPSTATUS = "OwnershipStatus";

        /**
         * 图片标题
         */
        public static final String CONSTANT_CAPTION = "Caption";

        /**
         * 图片宽度
         */
        public static final String CONSTANT_WIDTH = "Width";

        /**
         * 图片高度
         */
        public static final String CONSTANT_HEIGHT = "Height";

        /**
         * 缩略图地址
         */
        public static final String CONSTANT_THUMBURL = "ThumbURL";

        /**
         * 图片地址
         */
        public static final String CONSTANT_PICTUREURL = "PictureURL";

        /**
         * 经证实的所有者
         */
        public static final String CONSTANT_VERIFIEDOWNER = "VerifiedOwner";

        /**
         * 积分奖励数
         */
        public static final String CONSTANT_POINTSREWARDED = "PointsRewarded";

        /**
         * 评论回复数
         */
        public static final String CONSTANT_COMMENTS = "Comments";

        /**
         * 有用的数
         */
        public static final String CONSTANT_HELPFULS = "Helpfuls";

        /**
         * 上级图片ID
         */
        public static final String CONSTANT_PARENTID = "ParentID";
    }

    /**
     * Product(商品)的常量标识 webserivce端返回的结果中的字段的名称
     *
     * @author pqp66011
     * @version [版本号, 2012-9-17]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class Product {

        /**
         * 产品计数：起始条数
         */
        public static final int PRODUCT_COUNT_BEGIN = 0;

        /**
         * 产品计数：结束条数
         */
        public static final int PRODUCT_COUNT_END = 10;

        // **********************PRODUCTMODEL
        // BEGIN*********************************************//

        /**
         * 产品唯一键字段
         */
        public static final String CONSTANT_SKU = "Sku";

        /**
         * 商品简短标题字段
         */
        public static final String CONSTANT_SHORT_HEAD_LINE1 = "ShortHeadLine";

        public static final String CONSTANT_REWRITTENURL = "RewrittenUrl";

        /**
         * 商品简短描述字段
         */
//		public static final String CONSTANT_INTRODUCTION = "Introduction";
        public static final String CONSTANT_INTRODUCTION = "GraphicDetails";//4.0版本改为图文详情

        public static final String CONSTANT_SHORTDESCRIPTION = "ShortDescription";

        /**
         * 语言
         */
        public static final String CONSTANT_LANGUAGE = "Language";

        /**
         * 交易币种
         */
        public static final String CONSTANT_CURRENCYCODE = "CurrencyCode";
        /**
         * 交易币种符号
         */
        public static final String CONSTANT_CURRENCYCODESYMBOL = "CurrencyCodeSymbol";

        /**
         * 交易币种符号
         */
        public static final String CONSTANT_CURRENCYCODE_STR = "CurrencyCodeStr";

        /**
         * 小图地址列表字段
         */
        public static final String CONSTANT_SLIDE_SHOW_PICTURE_URLS = "SmallPictureURL";

        public static final String CONSTANT_GETSMALLIMAGES = "GetSmallImages";

        /**
         * 中图地址列表字段
         */
        public static final String CONSTANT_MEDIUM_PICTURE_URLS = "MediumPictureURL";

        public static final String CONSTANT_GETMEDIUMIMAGES = "GetMiddleImages";

        /**
         * 大图地址列表字段
         */
        public static final String CONSTANT_SLIDE_SHOW_PICTURE_THUMB_URLS = "BigPictureURL";

        public static final String CONSTANT_GETBIGIMAGES = "GetBigImages";

        /**
         * 商品星级数
         */
        public static final String CONSTANT_PRODUCT_RATING = "ProductRating";

        public static final String CONSTANT_AVGRATING = "AvgRating";

        /**
         * 照片数量
         */
        public static final String CONSTANT_PHOTOSCOUNT = "PhotosCount";

        /**
         * 商品价格字段
         */
        public static final String CONSTANT_PRICE = "Price";

        /**
         * 商品价格字段
         */
        public static final String CONSTANT_LISTPRICE = "ListPrice";

        /**
         * review数量字段
         */
        public static final String CONSTANT_REVIEW_COUNT = "ReviewCount";

        /**
         * specifications商品规格
         */
//		public static final String CONSTANT_SPECIFICATIONS = "Spec";
        public static final String CONSTANT_SPECIFICATIONS = "SpecHtml";

        /**
         * 链接地址
         */
        public static final String CONSTANT_WEBURL = "WebUrl";
        /**
         * 商品状态
         */
        public static final String CONSTANT_STATUS = "Status";

        /**
         * freeshipping
         */
        public static final String CONSTANT_FREESHIPPING = "FreeShipping";

        /**
         * relatefreeshipping
         */
        public static final String CONSTANT_RELATEFREESHIPPING = "RelateFreeShipping";

        // **********************PRODUCTMODEL
        // END*********************************************//

        /**
         * 促销商品的 id
         */
        public static final String CONSTANT_ID = "ID";

        /**
         * 方法参数 促销商品的ID
         */
        public static final String METHOD_PARAMETER_ID = "id";

        /**
         * GetChildCategories (int catalogId) 方法 中的 catalogId参数
         */
        public static final String METHOD_PARAMETER_CATELOGID = "catalogId";

        /**
         * 获取最新上架产品数量的时间
         */
        public static final String CONSTANT_RELEASEDATE = "ReleaseDate";

        /**
         * 获取最新上架产品数量
         */
        public static final String CONSTANT_NUM = "Num";

        public static final String CONSTANT_MEDIUMPICTUREURL = "MediumPictureURL";

        public static final String CONSTANT_ENTITYID = "EntityID";

        /**
         * 商品所属的仓库
         */
        public static final String CONSTANT_WAREHOUSETAG = "Warehouses";

    }

    /**
     * 广告
     *
     * @author pqp66011
     * @version [版本号, 2012-9-17]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class ADProduct {

    }

    /**
     * 订单
     *
     * @author pqp66011
     * @version [版本号, 2012-9-17]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class Order {

        /**
         * 当前订单状态: Unknown
         */

        public static final int ORDER_STATUS_UNKNOWN = 100000;

        private static HashMap<Integer, Integer> orderResMapping;

        /**
         * @Fields ID :订单id
         */
        public static final String ID = "id";

        /**
         * 订单号
         */

        public static final String ORDERNUMBER = "OrderNumber";

        /**
         * 订单日期
         */

        public static final String ORDERDATE = "OrderDate";

        /**
         * @Fields GRANDTOTAL : 订单总价
         */
        public static final String GRANDTOTAL = "GrandTotal";

        /**
         * @Fields GRANDTOTAL : 运费总价
         */
        public static final String SHIPPINGFEE = "ShippingFee";

        /**
         * @Fields GRANDTOTAL : 折扣总金额
         */
        public static final String ALL_DISCOUNT_TOTAL = "AllDiscountTotal";

        /**
         * 当前订单状态
         */

        public static final String ORDERSTATUS = "OrderStatus";

        public static final String LIGHT = "Light";

        public static final String ORDERSTATUSSTR = "OrderStatusStr";

        // #################添加代码 By Tony###########################
        /**
         * 当前订单的商品详情
         */
        public static final String ORDERLINES = "Lines";
        public static final String RECEIVABLESHIPPINGFEE = "ReceivableShippingFee";
        public static final String SHIPPINGFEEDISCOUNT = "ShippingFeeDiscount";

        // ##################订单信息添加物流信息字段#################################
        public static final String PACKAGES = "Packages";

        /**
         * 支付方式
         */

        public static final String PAYMENTGROSS = "paymentGross";

        public static final String CUSTOMERID = "CustomerID";

        public static final String SALESCHANNELTYPE = "SalesChannelType";

        public static final String CURRENCYCODE = "CurrencyCode";

        /**
         * ShippingAddress
         */
        public static final String SHIPPINGADDRESS = "ShippingAddress";

        public static final String FIRSTNAME = "FirstName";

        public static final String LASTNAME = "LastName";

        public static final String PHONENUMBER = "PhoneNumber";

        public static final String PHONE = "Phone";

        public static final String POSTALCODE = "PostalCode";

        public static final String STREET1 = "Street1";

        public static final String STREET2 = "Street2";

        public static final String CITY = "City";

        public static final String STATE = "State";

        public static final String COUNTRY = "Country";

        public static final String CAN_CANCEL = "CanCancel";

        public static final String CAN_COMPLETE = "CanComplete";

        public static final String CAN_MODIFYSHIPPINGADDRESS = "CanModifyShippingAddress";

        public static final String CAN_BEGINEDIT = "CanBeginEdit";

        public static final String CAN_ENDEDIT = "CanEndEdit";

        public static final String IS_PAYMENT_COMPLETED = "IsPaymentCompleted";

        public static final String CANREPAY = "CanRepay";

        public static final String DUEAMOUNT = "DueAmount";

        public static final String IS_COMPLETED = "IsCompleted";

        public static final String IS_CANCELLED = "IsCancelled";

        public static final String IS_FULLSHIPPED = "IsFullShipped";

        public static final String IS_SHIPPING = "IsShipping";

        /**
         * Lines
         */
        public static final String LINES = "Lines";

        /**
         * 赠送sku
         */
        public static final String GIFT_LINES = "GiftLines";


        public static final String GIFTQTY = "GiftQty";

        public static final String NOTES = "Notes";

        public static final String SKU = "Sku";

        public static final String ORDEREDQTY = "OrderedQty";

        public static final String UNITCOST = "UnitCost";

        public static final String UNITPRICE = "UnitPrice";

        public static final String NAME = "Name";

        public static final String SMILEIMAGEURL = "SmileImageUrl";

        public static final String PAYMENTSTATUS = "PaymentStatus";

        public static final String LOCKSTATUS = "LockStatus";

        public static final String SHIPPINGMETHOD = "ShippingMethod";

        /**
         * 订单历史状态
         */
        public static final String CHANGEBY = "ChangeBy";

        public static final String CHANGEON = "ChangeOn";

        public static final String ORDERSTATUSSTRINGFORMAT = "OrderStatusStringFormat";

        public static final String STATUSCODE = "StatusCode";

        public static final String STATUSTYPE = "StatusType";

        /**
         * 获取支付状态
         */
        public static final String TRANSACTIONS = "Transactions";

        public static final String RECORDCOUNT = "RecordCount";

        public static final String PAGECOUNT = "PageCount";

        public static final String RESPONSERESULT = "ResponseResult";

        public static final String TRANSACTIONID = "TransactionID";

        public static final String TIMESTAMP = "Timestamp";

        public static final String ACTUALACTION = "ActualAction";

        public static final String RAWACTION = "RawAction";

        public static final String AMOUNT = "Amount";

        public static final String CURRENCYTYPE = "CurrencyType";

        public static final String SITEID = "SiteID";

        public static final String TRANSACTIONRESULT = "TransactionResult";

        public static final String LASTUPDATETIME = "LastUpdateTime";

        // /**
        // *
        // * 备忘录
        // */
        //
        // public static final String MEMO = "memo";

        /**
         * 收件人地址
         */

        public static final String SHIPPINGMODEL = "shippingModel";

        /**
         * 订单号对应的商品对象
         */
        public static final String PRODUCTITEMMODELS = "productItemModels";

        /**
         * 状态跟踪
         */
        public static final String STATUSTRACKINGMODELS = "statusTrackingModels";

        /**
         * 支付跟踪
         */
        public static final String PAYMENTTRACKINGMODELS = "paymentTrackingModels";

        /**
         * 运费跟踪
         */
        public static final String SHIPMENTSTRACKINGMODELS = "shipmentsTrackingModels";

        /**
         * 运费
         */
        public static final String SHIPPINGPRICE = "shippingPrice";

        /**
         * 订单里所有商品的总价
         */
        public static final String SUBTOTAL = "subTotal";

        /**
         * 当前订单状态: Shipped
         */
        private static final int ORDER_STATUS_SHIPPED = 50;

        /**
         * 当前订单状态: Returned
         */
        private static final int ORDER_STATUS_RETURNED = 80;

        /**
         * 当前订单状态: WaitingForCourierPickup
         */
        private static final int ORDER_STATUS_WAITING_FOR_COURIER_PICKUP = 35;

        /**
         * 当前订单状态: Processing Contact Us for Details
         */
        private static final int ORDER_STATUS_PROCESSING_CONTACT_USFOR_DETAILS = -90;

        /**
         * 当前订单状态: OrderReceived
         */
        private static final int ORDER_STATUS_ORDER_RECEIVED = 30;

        /**
         * 当前订单状态: Shipped and Completed
         */
        private static final int ORDER_STATUS_SHIPPEDAND_COMPLETED = 60;

        /**
         * 当前订单状态: Pending Refund Authorization
         */
        private static final int ORDER_STATUS_PENDING_REFUND_AUTHORIZATION = 90;

        /**
         * 当前订单状态: Pending Return Authorization
         */
        private static final int ORDER_STATUS_PENDING_RETURN_AUTHORIZATION = 100;

        /**
         * 当前订单状态: Cancelled
         */
        private static final int ORDER_STATUS_CANCELLED = -10;

        /**
         * 当前订单状态: Processing Paused due to PayPal Complaint
         */
        private static final int ORDER_STATUS_PROCESSING_PAUSEDDUETO_PAY_PAL_COMPLAINT = -70;

        /**
         * 当前订单状态: ClearingPayment
         */
        private static final int ORDER_STATUS_CLEARING_PAYMENT = 10;

        /**
         * 当前订单状态: Packaging
         */
        private static final int ORDER_STATUS_PACKAGING = 40;

        /**
         * 当前订单状态: Waiting for Return
         */
        private static final int ORDER_STATUS_WAITINGFOR_RETURN = 70;

        /**
         * 当前订单状态: Pending Replacement Authorization
         */
        private static final int ORDER_STATUS_PENDING_REPLACEMENT_AUTHORIZATION = 110;

        /**
         * 当前订单状态: OrderReceived
         */
        private static final int ORDER_STATUS_ORDER_RECEIVED2 = 9;

        /**
         * 当前订单状态: Processing Paused due to PayPal Complaint
         */
        private static final int ORDER_STATUS_PROCESSING_PAUSEDDUETO_PAY_PAL_COMPLAINT2 = -80;

        /**
         * 当前订单状态: ExpressOrderReceived
         */
        private static final int ORDER_STATUS_EXPRESS_ORDER_RECEIVED = 2;

        /**
         * 当前订单状态: OrderReceived
         */
        private static final int ORDER_STATUS_ORDER_RECEIVED3 = 1;

        /**
         * 当前订单状态: OrderReceived
         */
        private static final int ORDER_STATUS_ORDER_RECEIVED4 = 0;

        /**
         * 当前订单状态: OrderReceived
         */
        private static final int ORDER_STATUS_ORDER_RECEIVED5 = 20;

        /**
         * 支付商品不存在
         */
        public static final int PAYMENT_ITEM_NOT_EXISTS = 771;

        /**
         * 获取订单状态信息
         *
         * @param orderStatus
         * @param context
         * @return String [返回类型说明]
         * @throws throws [违例类型] [违例说明]
         * @see [类、类#方法、类#成员]
         */
        public static String getOrderStatus(int orderStatus, Context context) {
            // ORDER_STATUS_UNKNOWN
            Integer res = orderResMapping.get(orderStatus);
            return context.getString(res);
        }
    }

    // /**
    // * 用户收获地址
    // */
    // public static class Address
    // {
    // // public static final String CONSTANT_ID = "Id";
    // //
    // // public static final String CONSTANT_NAME = "Name";
    // //
    // // public static final String CONSTANT_ADDESS = "Address";
    // //
    // // public static final String CONSTANT_TEL = "Tel";
    // //
    // // public static final String CONSTANT_EMAIL = "Email";
    //
    // }

    /**
     * 订单状态所对应的Key 值
     *
     * @author qsc255
     * @version [版本号, 2015-1-28]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class MapKey {
        /* =============== 订单状态OrderLight =================== */

        /**
         * 订单取消
         */
        public static final int ORDER_CANCEL = 0;

        /**
         * 未支付
         */
        public static final int ORDER_PENDING_PAYMENT = 1;

        /**
         * 已支付
         */
        public static final int ORDER_PAYMENT_RECEVIED = 2;

        /**
         * 发货
         */
        public static final int ORDER_FULL_SHIPMENT = 3;

        /**
         * 交易完成
         */
        public static final int ORDER_COMPLETED = 4;

        /**
         * 部分支付
         */
        public static final int ORDER_PARTIAL_PAYMENT = 5;

        /**
         * 订单加锁
         */
        public static final int ORDER_CSEDITING = 62;

        /**
         * 未支付
         */
        public static final String ORDER_PENDING_PAYMENT_STR = "0";

        /**
         * 部分支付
         */
        public static final String ORDER_PARTIAL_PAYMENT_STR = "1";

        /**
         * 确认支付
         */
        public static final String ORDER_PAYMENT_RECEVIED_STR = "2";

        /**
         * 已支付
         */
        public static final String ORDER_PAYMENT_CONFIRMED_STR = "3";

        /**
         * 发货
         */
        public static final String ORDER_FULL_SHIPMENT_STR = "34";

        /**
         * 交易完成
         */
        public static final String ORDER_COMPLETED_STR = "35";
    }

    /**
     * 订单状态所对应的Value 值
     *
     * @author qsc255
     * @version [版本号, 2015-1-28]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class MapValue {
		/* =============== 订单状态OrderLight =================== */
        /**
         * 取消订单
         */
        public static final String ORDER_CANCEL = "Order Cancelled";

        /**
         * 未支付
         */
        public static final String ORDER_PENDING_PAYMENT = "Order Received";
        /**
         * 部分支付
         */
        public static final String ORDER_PARTIAL_PAYMENT = "Partial Payment";

        /**
         * 已支付
         */
        public static final String ORDER_PAYMENT_RECEVIED = "Payment Received";

        /**
         * 发货
         */
        public static final String ORDER_FULL_SHIPMENT = "Full Shipment";

        /**
         * 交易完成
         */
        public static final String ORDER_COMPLETED = "Completed";
    }

    /**
     * 新闻角
     *
     * @author yw66009
     * @version [版本号, 2012-12-7]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class NewsCorner {
        public static final String CONSTANT_NEWID = "NewID";

        public static final String CONSTANT_NEWTITLE = "NewTitle";

        public static final String CONSTANT_NEWCONTENT = "NewContent";

        public static final String CONSTANT_BIGIMG = "BigImg";

        public static final String CONSTANT_SMALLIMG = "SmallImg";

        public static final String CONSTANT_CREATEDATE = "CreateDate";

        public static final String CONSTANT_EDITDATE = "EditDate";

        public static final String CONSTANT_STATE = "State";

        public static final String CONSTANT_ENTITYID = "EntityID";

    }

    /**
     * 推广
     *
     * @author yw66009
     * @version [版本号, 2012-12-11]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class Banner {
        public static final String CONSTANT_BANNERID = "BannerID";

        public static final String CONSTANT_BANNERIMG = "BannerImg";

        public static final String CONSTANT_BANNERNAME = "BannerName";

        public static final String BANNERFORPHONE1242X663 = "BannerForPhone1242X663";

        public static final String CONSTANT_BANNE_LINKURL = "LinkUrl";

        public static final String CONSTANT_BANNE_LINKTYPE = "LinkType";
    }

    public static class CB {
        public static final String CONSTANT_CBID = "CBId";

        public static final String CONSTANT_CBIMG = "CBImg";

        public static final String CONSTANT_CBNAME = "CBName";

    }

    /**
     * action 常量类，在跳转到指定action前可以设置返回参数url Bundle data = new Bundle();
     * data.putString("backAction", backActionUrl);
     * 在当前action使用BaseActivity.back(null)返回到上一个action
     *
     * @author Administrator
     * @version [版本号, 2010-9-2]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public class ActionConstant {
        /**
         * 从mycart里面支付标识
         */
        public static final int FORM_MYCART_ACTIVITY = 0;

        /**
         * 从orderdetail里面支付标识
         */
        public static final int FORM_ORDERDETAIL_ACTIVITY = 1;

        /**
         * 从buynow里面支付标识
         */
        public static final int FORM_BUYNOW_ACTIVITY = 2;

        /**
         * 从order列表里面支付标识
         */
        public static final int FORM_ORDERLIST_ACTIVITY = 3;

        /**
         * 主页
         */
        public static final String ACTION_MAIN = "com.epro.dx.activity.mainactivity";

        /**
         * 浏览
         */
        public static final String ACTION_BROWSE = "com.epro.dx.activity.browslistactivity";

        /**
         * my account
         */
        public static final String ACTION_MY_ACCOUNT = "com.epro.dx.activity.myaccountactivity";

        /**
         * 登录
         */
        public static final String ACTION_LOGIN = "com.epro.dx.activity.loginactivity";

        /**
         * 收藏夹
         */
        public static final String ACTION_WISH = "com.epro.dx.activity.wishactivity";

        /**
         * 浏览记录
         */
        public static final String ACTION_NATIVEBROWSELIST = "com.epro.dx.activity.nativebrowseacitivty";

        /**
         * 畅销产品分类
         */
        public static final String ACTION_SPECIALACTIVITY = "com.epro.dx.activity.specialactivity";

        /**
         * 订单详情
         */
        public static final String ACTION_ORDER_DETAIL = "com.epro.dx.activity.orderdetailactivity";

        /**
         * 商品详情
         */
        public static final String ACTION_PRODUCT_DETAIL = "com.epro.dx.activity.detailactivity";

        /**
         * 商品列表
         */
        public static final String ACTION_PRODUCT_LIST = "com.epro.dx.activity.productlistactivity";

        /**
         * 搜索列表
         */
        public static final String ACTION_SEARCH_LIST = "com.epro.dx.activity.searchlistactivity";

        /**
         * 最新上架列表
         */
        public static final String ACTION_NEW_ARRIVALS = "com.epro.dx.activity.newarrivalsactivity";

        /**
         * 目录浏览
         */
        public static final String ACTION_BROWSE_LIST = "com.epro.dx.activity.browslistactivity";

        /**
         * More
         */
        public static final String ACTION_MORE = "com.epro.dx.activity.moreactivity";

        /**
         * 没有数据
         */
        public static final String ACTION_NO_DATA = "com.epro.dx.activity.nodataactivity";

        /**
         * 购物车
         */
        public static final String ACTION_MYCART = "com.epro.dx.activity.mycardactivity";

        /**
         *
         */
        public static final String ACTION_NEWMAIN = "com.epro.dx.activity.NewMainActivity";

        /**
         * 界面布局中底部功能按钮选中索引: Cart
         */
        public static final int MENU_SELECT_CART = 3;

        /**
         * com.epro.dx.activity.GadgetsActivity
         */
        public static final String ACTION_GADGET = "com.epro.dx.activity.gadgetsactivity";
        /**
         * 物流信息
         */
        public static final String ACTION_SHIPPINGINFO = "com.epro.dx.activity.order.ShippingTrackingActivity";
        // /**
        // * com.epro.dx.activity.GadgetsActivity
        // */
        // public static final String ACTION_NEWARRIVALS =
        // "com.epro.dx.activity.NewArrivalsActivity";
        // /**
        // * com.epro.dx.activity.GadgetsActivity
        // */
        // public static final String ACTION_MYACCOUNT =
        // "com.epro.dx.activity.MyAccountActivity";

        /**
         *
         */
        public static final String ACTION_CHECKOUT = "com.epro.dx.activity.CheckoutActivity";

    }

    /**
     * 调用 webservice提供的接口的时候 我们调用方法的参数的名称 ;
     *
     * @author yw66009
     * @version [版本号, 2012-9-17]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class RequestMethodNameConstant {
        // --------------用户模块的接口方法名 --------------------------
        /**
         * 验证用户登录
         */
        public static final String METHOD_LOGIN = "Login";

        /**
         * 用户注册
         */

        public static final String METHOD_REGISTER = "Register";

        /**
         * 找回密码
         */
        public static final String METHOD_FORGETPASSWORD = "ForgetPassword";

        /**
         * 获取用户信息接口
         */

        public static final String METHOD_GETACCOUNTFORUSER = "GetAccountForUser";

        /**
         * 修改用户信息
         */
        public static final String METHOD_UPDATEACCUNTFORUSER = "UpdateAccuntForUser";

        /**
         * 修改密码
         */
        public static final String METHOD_CHANGEPASSWORD = "ChangePassword";

        /**
         * 获取所有国家对照表
         */
        public static final String METHOD_ALLCOUNTRY = "AllCountry";

        /**
         * 获取我的商品评论列表
         */
        public static final String METHOD_CUSOTMERREVIEWLIST = "CusotmerReviewList";

        /**
         * 获取商品评论列表
         */
        public static final String METHOD_CUSOTMERREVIEWLIST1 = "CusotmerReviewList1";

        // -------------------- 商品收藏模块的接口方法名称-----------------------
        /**
         * 获取用户收藏夹列表
         */
        public static final String METHOD_WISHLISTINFOFORUSER = "WishlistInfoForUser";

        /**
         * 获取用户收藏夹列表数量
         */
        public static final String METHOD_GETCOUNTWISHLISTFORUSER = "GetCountWishlistForUser";

        /**
         * 添加商品到收藏夹
         */
        public static final String METHOD_ADDWISHLISTFORUSER = "AddWishlistForUser";

        /**
         * 删除收藏记录
         */
        public static final String METHOD_DELWISHLISTFORUSER = "DelWishlistForUser";

        /**
         * 用户缓存配置
         */
        public static final String METHOD_CACHES = "Caches";

        /**
         * 首页
         */
        public static final String METHOD_CATEGORYS = "Categorys";

        // -------------------- 收货地址模块的接口方法名称-----------------------

        /**
         * 添加收货地址
         */
        public static final String METHOD_ADD_ADDRESS = "AddAddress";
        /**
         * 删除收货地址
         */
        public static final String METHOD_DELETE_ADDRESS = "DeleteAddress";
        /**
         * 设置默认收货地址
         */
        public static final String METHOD_SET_DEFAULT_ADDRESS = "ChooseDefaultAddress";
        /**
         * 获取收货地址
         */
        public static final String METHOD_GET_ADDRESS = "GetAddresses";
        /**
         * 更新收货地址
         */
        public static final String METHOD_UPDATE_ADDRESS = "UpdateAddress";

        /**
         * 获取默认收获地址
         */
        public static final String METHOD_GET_DEFAULT_ADDRESS = "GetDefaultAddress";

        // --------------------首页新增模块接口方法名称-----------------------

        /**
         * LatestDiscounts
         */
        public static final String METHOD_LATESTDISCOUNTS = "DxmLatestDiscounts";

        /**
         * US仓版本修改 USWarehouse
         */
        public static final String METHOD_USWAREHOUSE = "DxmUSWarehouses";

        /**
         * MvProducts
         */
        public static final String METHOD_MVPRODUCTS = "DxmMvProducts";

        /**
         * NewArrivals
         */
        public static final String METHOD_NEWARRIVALS = "DxmNewArrivals";

        /**
         * TopSellers
         */
        public static final String METHOD_TOPSELLERS = "DxmTopSellers";

        /**
         * Spotlights
         */
        public static final String METHOD_SPOTLIGHTS = "DxmSpotlights";

        // ----------------商品目录模块的接口方法名称------------------

        /**
         * 获取顶级目录
         */
        public static final String METHOD_GETTOPCATEGORIES = "GetTopCategories";

        /**
         * 获取某个类别下的所有子类别
         */
        public static final String METHOD_GETALLCHILDCATEGORIES = "GetAllChildCategories";

        /**
         * 获取指定目录下子目录列表
         */
        public static final String METHOD_GETCHILDCATEGORIES = "GetChildCategories";

        // /**
        // * 获取指定目录下的产品列表
        // */
        // public static final String METHOD_GETPRODUCTSINCATEGORY =
        // "GetProductsInCategory";

        // /**
        // * 获取指定目录下商品列表的数量
        // */
        // public static final String METHOD_COUNTPRODUCTSINCATEGORY =
        // "CountProductsInCategory";

        // ---------------------商品搜索--------------------

        /**
         * 搜索产品列表
         */
        public static final String METHOD_GETSEARCHPRODUCTLIST = "GetSearchProductList";

        /**
         * 获取搜索产品的列表(向上翻页)
         */
        public static final String METHOD_GETPRODUCTLISTUP = "GetProductListUp";

        /**
         * 获取产品的列表(查询本地数据库),因为搜索引擎搜索产品的时候不能进行销量排序
         */
        public static final String METHOD_GETPRODUCTLIST = "GetProductList";

        /**
         * 根据类目相应查询条件获取搜索产品的列表
         */
        public static final String METHOD_GETPRODUCTLISTBYCATEGORYID = "GetProductListByCategoryId";

        /**
         * 根据类目，相应查询类型(如清仓等)查询本地mongodb产品数据集
         */

        public static final String METHOD_GETPRODUCTLISTBYCATEGORYIDANDRELATEDTYPE = "GetProductListByCategoryIdAndRelatedType";

        /**
         * 根据类目，相应查询类型(如清仓)，查询条件查询产品总个数和星级分布情况
         */
        public static final String METHOD_GETPRODUCTRESULTBYCATEGORYRELATEDTYPE = "GetProductResultByCategoryRelatedType";

        /**
         * 根据查询条件查询产品总个数和星级分布情况
         */
        public static final String METHOD_GETPRODUCTRESULT = "GetProductResult";

        /**
         * 获取搜索产品的数量
         */
        public static final String METHOD_COUNTPRODUCTSBYSEARCHKEY = "CountProductsBySearchKey";

        // ---------------------商品详情--------------------
        /**
         * 获取商品详情信息
         */
        public static final String METHOD_GETPRODUCT = "GetProductDetail";

        /**
         * 库存量
         */
        public static final String METHOD_SALESLIMIT = "saleslimit";

        // ---------------------相关商品--------------------
        /**
         * 根据一级目录ID获取此类别下的所有推广
         */
        public static final String METHOD_GETCATEGORYBANNERS = "GetCategoryBanners";

        /**
         * 根据一级目录ID获取此类别下的所有推广商品
         */
        public static final String METHOD_GETCATEGORYBANNERPRODUCTS = "GetCategoryBannerProductsWhere";

        /**
         * 根据分类推广ID获取产品数量
         */

        public static final String METHOD_GETPRODUCTSCBRESULT = "GetProductsCBResult";

        // ---------------------用户图片及信息--------------------
        /**
         * 获取商品客户图片的数量(新增接口)
         */
        public static final String METHOD_GETCUSTOMERPHOTOSNUMBER = "GetCustomerPhotosNumber";

        /**
         * 获取某一商品用户上传的图片列表
         */
        public static final String METHOD_CUSOTMERPHOTOLIST = "CusotmerPhotoList";

        // /**
        // * 获取用户照片
        // */
        // public static final String METHOD_GETCUSTOMERPICTURE =
        // "GetCustomerPicture";

        // ---------------------商品评论--------------------
        /**
         * 获取商品评论列表
         */
        public static final String METHOD_CUSTOMERREVIEWSLIST = "CustomerReviewsList";

        /**
         * 获取商品评论数量
         */
        public static final String METHOD_COUNTPRODUCTREVIEWS = "CountProductReviews";

        // --------------------广告与促销--------------------

        /**
         * 获取横幅促销广告列表
         */
        public static final String METHOD_GETPAGEBANNERS = "GetPageBanners";

        /**
         * 获取横幅促销广告详情
         */
        public static final String METHOD_GETPAGEBANNERS_DETAIL = "GetPageBannersDetail";

        /**
         * 获取横幅促销广告列表
         */
        public static final String METHOD_GETBANNERPRODUCTS = "GetBannerProductsWhere";

        /**
         * 根据分类推广ID获取产品数量
         */
        public static final String METHOD_GETPRODUCTBANNERRESUALT = "GetProductBannerResualt";

        // /**
        // * 获取横幅促销广告列表数量
        // */
        // public static final String
        // METHOD_COUNTBANNERPRODUCTSBYID="CountBannerProductsById";
        //
        // /**
        // * 获取每周推荐的产品列表
        // */
        // public static final String METHOD_GETWEEKPRODUCTSNEW =
        // "GetWeekProductsNew";
        //
        // /**
        // * 获取热销产品列表
        // */
        // public static final String METHOD_GETTOPSELLERS = "GetTopSellers";
        //
        // /**
        // * 获取小饰件产品列表
        // */
        // public static final String METHOD_GETGADGETS = "GetGadgets";
        //
        // /**
        // * 获取小饰件产品列表
        // */
        // public static final String METHOD_GETNEWARRIVALS = "GetNewArrivals";
        //
        // /**
        // * 获取小饰件产品列表
        // */
        // public static final String METHOD_GETCLEARANCE = "GetClearance";

        // ----------------------FAQ------------------
        /**
         * 获取常见问题和答案(本期不需要实现)
         */
        public static final String METHOD_GETAQ = "GetAQ";

        // -----------------新闻角落------------------

        /**
         * 获取新闻角落信息
         */

        public static final String METHOD_GETPAGENEWS = "GetPageNews";

        /**
         * 根据新闻ID获取新闻信息
         */
        public static final String METHOD_GETNEWSINGLE = "GetNewSingle";

        // ---------------主页--------------------

        /**
         * 获取挂牌产品列表
         */
        public static final String METHOD_GetListingProductes = "GetListingProductes";

        /**
         * 获取挂牌产品列表数量
         */
        public static final String METHOD_COUNTLISTINGPRODUCTES = "CountListingProductes";

        // -----------------最新上架--------------------

        /**
         * 获取最新上架产品数量
         */
        public static final String METHOD_GETTOPPRODUCTS = "GetTopProducts";

        // -------------------------地址管理------------------------
        /**
         * 创建地址
         */
        public static final String METHOD_GREATEADDRESSBOOK = "GreateAddressBook";

        /**
         * 获取地址列表
         */
        public static final String METHOD_GETADDRESSBOOKLIST = "GetAddressBookList";

        /**
         * 更改地址
         */
        public static final String METHOD_UPDATEADDRESSBOOK = "UpdateAddressBook";

        /**
         * 删除地址
         */
        public static final String METHOD_DELETEADDRESSBOOK = "DeleteAddressBook";

        // --------------------订单------------------------

        /**
         * 获取订单列表
         */
        public static final String METHOD_FINDORDERS = "FindOrders";

        /**
         * 创建订单
         */
        public static final String METHOD_CREATEORDER = "CreateOrder";

        /**
         * 根据订单号获取订单详情
         */
        public static final String METHOD_GETORDER = "GetOrder";

        /**
         * 根据订单号取消订单
         */

        public static final String METHOD_CANCELORDER = "CancelOrder";

        /**
         * 收到货后完成订单
         */
        public static final String METHOD_COMPLETEORDER = "CompleteOrder";

        /**
         * 为EditionOrder加锁
         */
        public static final String METHOD_BEGINEDITORDER = "BeginEditOrder";

        /**
         * 为EditionOrder解锁
         */
        public static final String METHOD_ENDEDITORDER = "EndEditOrder";

        /**
         * 修改收获地址
         */
        public static final String METHOD_CHANGESHIPPINGOPTIONS = "ChangeShippingOptions";

        /**
         * 获取订单历史状态
         */
        public static final String METHOD_GETORDERSTATUSHISTORY = "GetOrderStatusHistory";

        /**
         * 调用此接口获得paypal页面，登录授权后返回到给定的页面并附带一些参数信息，为调用GetMobileCheckOut接口
         */
        public static final String METHOD_SETMOBILECHECKOUT = "SetMobileCheckOut";

        /**
         * 未支付完成的订单支付，调用此接口获得paypal页面
         */
        public static final String METHOD_RESETMOBILE = "ReSetMobile";

        /**
         * 部分支付，调用此接口获得paypal页面
         */
        public static final String METHOD_PARTIALSETMOBILE = "PartialSetMobile";

        /**
         * 调用此创建订单并获取paypal页面url
         */
        public static final String METHOD_CREATEORDERANDSETMOBILE_CHECKOUT = "CreateOrderAndSetMobile";

        /**
         * 获取用户订单状态数量
         */
        public static final String METHOD_GET_ORDER_COUNT = "getOrderCount";

        /**
         * 根据获得的paypalurl来调用GetMobileCheckOut得到从paypal获得的信息来创建订单
         */
        public static final String METHOD_MOBILECHECKOUT = "MobileCheckOut";

        /**
         * 调用此接口来完成支付动作
         */
        public static final String METHOD_DOMOBILECHECKOUT = "DoMobileCheckOut";

        /**
         * 获取支付状态
         */
        public static final String METHOD_QUERYTRANSCATIONS = "QueryTranscations";

        /**
         * 获取支付状态
         */
        public static final String METHOD_GETSHIPPINGINFO = "GetShippingInfo";
        //
        // /**
        // * 统计当前用户订单数量
        // */
        //
        // public static final String METHOD_COUNTORDERSFORUSER =
        // "CountOrdersForuser";
        //
        // /**
        // * 获取用户订单记录列表
        // */
        // public static final String METHOD_GETLATESTORDERFORUSER =
        // "GetLatestOrderForUser";
        //
        // /**
        // * 输入订单号获取订单信息
        // */
        // public static final String METHOD_GETORDERBYORDERNUMBERFORUSE =
        // "GetOrderByOrderNumberForUse";
        //
        // /**
        // * 获取用户视频
        // */
        // public static String METHOD_GETCUSTOMERVIDEO = "GetCustomerVideo";
        //
        // /**
        // * 获取用户地址信息
        // */
        // public static final String METHOD_GETSHIPPINGADDRESS =
        // "GetShippingAddress";
        //
        // /**
        // *
        // */
        // public static final String METHOD_GETADLISTBYPLACEID =
        // "GetAdListByPlaceID";
        //
        // /**
        // *
        // */
        // public static final String METHOD_GETPROMOTIONSBYTIMESTAMP =
        // "GetPromotionsByTimestamp";
        //
        // /**
        // *
        // */
        // public static final String METHOD_GETPROMOTIONPROUDUCTDETAIL =
        // "GetPromotionProuductDetail";
        //
        // /**
        // *
        // */
        // public static final String
        // METHOD_COUNTPERDAYRELEASEDPRODUCTSINRECENT20DAYS =
        // "CountPerDayReleasedProductsInRecent20Days";
        //
        // /**
        // *
        // */
        // public static final String METHOD_COUNTNEWARRIVALS =
        // "CountNewArrivals";
        // --------------------获取今日消息------------------------
        public static final String METHOD_GETMESSAGEDAY = "GetMessageDay";

        public static final String METHOD_GETSTARTIMAGE = "GetStartImage";

        // ---------------------Coupon－－－－－－－－－－－－－－－－
        /**
         * 查询对应Customer可用的Coupon数量
         */
        public static final String METHOD_FINDVALIDCOUPONSCOUNT = "FindValidCouponsCount";
        /**
         * 查询Customer下的所有手动Coupon
         */
        public static final String METHOD_FINDCUSTOMERCOUPONS = "FindCustomerCoupons";
        /**
         * 查询当前可用的Coupon，在CouponMarket展示并提供领用
         */
        public static final String METHOD_FINDMARKETCOUPONS = "FindMarketCoupons";
        /**
         * 绑定Coupon，即 领取Coupon
         */
        public static final String METHOD_BINDCOUPON = "BindCoupon";
        /**
         * 预览订单
         */
        public static final String METHOD_PREVIEWORDER = "PreviewOrder";

        /**
         * 删除Coupon
         */
        public static final String METHOD_DELETE_COUPON = "CancelBindCoupon";

        /**
         * 获取Coupon对应的活动信息
         */
        public static final String METHOD_FIND_DISCOUNT_PRODUCTS = "FindDiscountProducts";

        // ----------------购物车同步接口方法------------------------------------
        public static final String METHOD_GETCART = "getCart";// 获取购物车列表
        public static final String METHOD_ADDCART = "addCart";// 添加商品到购物车，覆盖
        public static final String METHOD_CLEARCART = "clearCart";// 清除购物车
        public static final String METHOD_REMOVESKUFROMCART = "removeSkuFromCart";// 删除某个商品
        public static final String METHOD_GETCARTCOUNT = "getCartCount";// 获取sku数量
        public static final String METHOD_UPDATECART = "updateCart";// 添加商品到购物车，覆盖
        public static final String METHOD_UPLOADLOCALCART = "uploadLocalCart";// 批量同步到服务端

        //-----------------多货币接口方法名--------------------------------------
        public static final String METHOD_GETCURRENCYCODES = "GetCurrencyCodes";//查询支持的货币列表
        public static final String METHOD_SWITCHPRODUCTCURRENCY = "SwitchProductCurrency";//查询支持的货币列表
        public static final String METHOD_SWITCHCURRENCYCODE = "SwitchCurrencyCode";//查询支持的货币列表

        //信用卡 相关接口
        public static final String METHOD_GETCREDITCARDINFOS = "getCreditCardInfos";//获取信用卡列表接口
        public static final String METHOD_DOCREDITCARDCHECKOUT = "doCreditCardCheckout";//信用卡支付接口
        public static final String METHOD_GETCREDITTYPE = "getCreditType";//获取流量接口 EGP/钱宝
        public static final String METHOD_DELETECREDITCARD = "deleteCreditCard";//删除信用卡接口（解绑）

        //一键过滤相关接口
        public static final String METHOD_GETCUSTOMERFILTER = "GetCustomerFilter";//获取用户过滤设置
        public static final String METHOD_SAVECUSTOMERFILTER = "SaveCustomerFilter";//保存用户过滤设置
        public static final String METHOD_SAVECUSTOMERISFILTER = "SaveCustomerIsFilter";//保存用户过滤状态
    }

    /**
     * @author TonyYang Coupon中的字段名
     */
    public static class CouponField {
        // 活动编号
        public static final String Coupon_CouponCode = "CouponCode";

        // 活动名称
        public static final String Coupon_Name = "Name";

        // 有效期开始时间
        public static final String Coupon_BeginDate = "BeginDate";

        // 有效期结束时间
        public static final String Coupon_EndDate = "EndDate";

        // 活动条件描述
        public static final String Coupon_ConditionDes = "ConditionDesc";

        // 活动内容描述
        public static final String Coupon_ActionDes = "ActionDesc";

        // 活动描述
        public static final String Coupon_Description = "Description";

        // Coupon类型，活动状态
        public static final String Coupon_Status = "Status";

        // 订单号
        public static final String Coupon_OrderNumber = "OrderNumber";

        // 图片信息
        public static final String Coupon_ImgUrl = "ImgUrl";

        // 级别类型
        public static final String Coupon_PromoteLevel = "PromoteLevel";

        // 是否是自动
        public static final String Coupon_IsAutomatic = "IsAutomatic";

        // 赠送SKU
        public static final String Coupon_GiftSkus = "GiftSkus";

        // 折扣金额
        public static final String Coupon_DiscountAmount = "DiscountAmount";
    }

    /**
     * @author tony 与预览订单对象相关的字段
     */
    public static class PreviewOrder {
        // 所有折扣的总额
        public static final String PreviewOrder_AllDiscountTotal = "AllDiscountTotal";

        // 货币代码
        public static final String PreviewOrder_CurrencyCode = "CurrencyCode";

        // 货币字符串单位
        public static final String PreviewOrder_CurrencyCodeStr = "CurrencyCodeStr";

        // 应付总额
        public static final String PreviewOrder_GrandTotal = "GrandTotal";

        // 订单总额
        public static final String PreviewOrder_TotalAmount = "TotalAmount";

        // 产品总额
        public static final String PREVIEWORDER_GOODS_TOTAL = "GoodsTotal";

        // 运费
        public static final String PreviewOrder_ShippingFee = "ShippingFee";

        // 运输方式
        public static final String PreviewOrder_ShippingMethod = "ShippingMethod";

        // 运输方式字符串形式
        public static final String PreviewOrder_ShippingMethodStr = "ShippingMethodStr";

        // 商品列表
        public static final String PreviewOrder_Lines = "Lines";

        // 已使用的Coupon列表
        public static final String PreviewOrder_AppliedCoupons = "AppliedCoupons";

        // 订单可用的手动Coupon列表
        public static final String PreviewOrder_UsableCoupons = "UsableCoupons";

        // 赠送SKU
        public static final String PreviewOrder_AllGiftSkus = "AllGiftSkus";

        // 错误Coupon信息
        public static final String PREVIEWORDER_COUPON_ERROR = "CouponError";
        // 错误Coupon信息
        public static final String PREVIEWORDER_COUPON_ERROR_CODE = "ErrorCode";
        // 错误Coupon信息
        public static final String PREVIEWORDER_COUPON_ERROR_SHORT_MESSAGE = "ShortMessage";
        // 错误Coupon信息
        public static final String PREVIEWORDER_COUPON_ERROR_LONG_MESSAGE = "LongMessage";

        public static java.lang.String PreviewOrder_IsMerged = "IsMerged";
    }

    /**
     * @author epro 与OrderProductModel相关的字段
     */
    public static class OrderProductModelField {

        // 产品编号
        public static final String OrderProductModelField_Sku = "Sku";
        // 描述、标题
        public static final String OrderProductModelField_ShortHeadLine = "ShortHeadLine";
        // 价格
        public static final String OrderProductModelField_Price = "Price";
        // 市场价
        public static final String OrderProductModelField_ListPrice = "ListPrice";
        // 评分
        public static final String OrderProductModelField_ProductRating = "ProductRating";
        //
        public static final String OrderProductModelField_ReviewCount = "ReviewCount";
        // 大图地址
        public static final String OrderProductModelField_BigPictureURL = "BigPictureURL";
        // 中图地址
        public static final String OrderProductModelField_MediumPictureURL = "MediumPictureURL";
        // 小图地址
        public static final String OrderProductModelField_SmallPictureURL = "SmallPictureURL";
        // 运费
        public static final String OrderProductModelField_FreeShipping = "FreeShipping";
        //
        public static final String OrderProductModelField_WebUrl = "WebUrl";
        // 单个优惠金额
        public static final String OrderProductModelField_Discount = "Discount";
        // 订购数量
        public static final String OrderProductModelField_OrderedQty = "OrderedQty";
        // 请求数量
        public static final String OrderProductModelField_RequestQty = "RequestQty";
        // 赠送数量
        public static final String OrderProductModelField_GiftQty = "GiftQty";
        // 优惠总金额
        public static final String OrderProductModelField_LineDiscountTotal = "LineDiscountTotal";
        // 正常售价小计
        public static final String OrderProductModelField_LineGoodsTotal = "LineGoodsTotal";
        // 购买价小计
        public static final String OrderProductModelField_LineTotal = "LineTotal";
        // 库存
        public static final String OrderProductModelField_SalesLimit = "SalesLimit";
    }

    /**
     * 服务器端返回的错误码定义
     *
     * @author Administrator
     * @version [版本号, 2010-9-7]
     * @see [相关类/方法]
     * @since [产品/模块版本]
     */
    public static class ReturnCode {

        /**
         * 成功
         */
        public static final String STATUS_SUCCESS = "0X0000";

        /**
         * 开发者身份 未验证
         */
        public static final String STATUS_DEV_NO_AUTHORIZED = "0X000D";

        /**
         * 开发者身份 验证失败
         */
        public static final String STATUS_DEV_AUTHORIZED_FAILED = "0X000E";

        /**
         * 开发者 无权限访问
         */
        public static final String STATUS_DEV_NO_PERMISSION = "0X000F";

        /**
         * 接口内部发生了未知的错误，导致操作不能正常进行
         */
        public static final String STATUS_INTENAL_ERROR = "0X00FF";

        /**
         * 服务器连接错误
         */
        public static final String VALIDATOR_SERVER_ERROR = "010003";

        /**
         * 服务器无效
         */
        public static final String VALIDATOR_SERVER_INVALID = "0X20001";

        /**
         * 连接超时
         */
        public static final String VALIDATOR_CONNECT_TIMEOUT = "0X20002";

        /**
         * 客户端网络不可用
         */
        public static final String CLIENT_NET_UN_AVAILABLE = "0X100201";

        /**
         * 未知错误
         */
        public static final String VALIDATOR_UNKONW_ERROR = "0X100901";

        /**
         * NewDMS异常
         */
        public static final String NEWSDMS_ERROR_012001 = "012001";

        /**
         * NewDMS异常
         */
        public static final String NEWSDMS_ERROR_012002 = "012002";

        /**
         * NewDMS异常
         */
        public static final String NEWSDMS_ERROR_012003 = "012003";

        /**
         * NewDMS异常
         */
        public static final String NEWSDMS_ERROR_013001 = "013001";

        /**
         * NewDMS异常
         */
        public static final String NEWSDMS_ERROR_013003 = "013003";

        /**
         * 用户相关接口错误返回码定义
         *
         * @author xrj66010
         * @version [版本号, 2012-12-15]
         * @see [相关类/方法]
         * @since [产品/模块版本]
         */

        public final class User {
            /**
             * @Fields INVALID_PASSWORD : 密码错误
             */
            public final static String INVALID_PASSWORD = "800A0209";

            /**
             * 用户不存在
             */
            public static final String ACCOUNT_NOT_EXIST = "800A0207";

            /**
             * 内部错误,InternalError
             */
            public static final String INTERNAL_ERROR_ENCOUNTERED = "800A0001";

            /**
             * 邮件格式有误
             */
            public static final String EMAIL_FORMAT_ERROR = "800A0201";

            /**
             * UserName为空
             */
            public static final String USERNAME_REQUIRED = "800A0202";

            /**
             * Password为空
             */
            public static final String PASSWORD_REQUIRED = "800A0203";

            /**
             * Parameter Length Is Longer （数组长度过长）
             */
            public static final String ENTERED_TOO_LONG = "800A0004";

            /**
             * UserName已存在
             */
            public static final String USERNAME_REGISTERED = "800A0206";

            /**
             * Email已存在
             */
            public static final String EMAIL_REGISTERED = "800A0205";

            /**
             * 站点不存在 (Site does not exist)
             */
            public static final String SITE_NOT_EXIST = "800A0208";

            /**
             * Validation Request Parameter Null （验证请求的参数空）
             */
            public static final String VALIDATION_PARAMETER_NULL = "800A0002";

            /**
             * Array Is Longer （数组长度过长）
             */
            public static final String ENTERED_LONG = "800A0003";

            /**
             * Result Is Null （结果为空）
             */
            public static final String EMPTY_RESULTS = "800A0005";

            /**
             * 原始密码有误
             */
            public static final String ORIGINAL_PASSWORD_INCORRECT = "800A0204";

            /**
             * 用户名为空
             */
            public static final String USERNAME_BLANK = "800A0210";

            /**
             * Anonymous Customer （匿名用户）
             */
            public static final String ANONYMOUS_CUSTOMER = "800A0211";

            /**
             * Account Is Activate （帐户被激活）
             */
            public static final String ACCOUNT_ACTIVATE = "800A0212";

            /**
             * Verify Code Invalid
             */
            public static final String VERIFY_CODE_INVALID = "800A0213";

            /**
             * Address No Exist （地址不存在）
             */
            public static final String ADDRESS_NO_EXIST = "800A0301";

            /**
             * Address Is Null （地址为空）
             */
            public static final String ADDRESS_BLANK = "800A0302";

            /**
             * Title Is Required （必须有标题）
             */
            public static final String TITLE_REQUIRED = "800A0401";

            /**
             * Body Is Required （必须有主体）
             */
            public static final String MESSAGE_REQUIRED = "800A0402";

            /**
             * CreditCard不存在
             */
            public static final String CREDIT_CARD_NOEXIST = "800A0501";

            /**
             * CreditCardExist已存在
             */
            public static final String CREDIT_CARD_EXIST = "800A0502";

            /**
             * Token Status No Exist （标记状态不存在）
             */
            public static final String TOKEN_STATUS_NOEXIST = "800A0503";

            /**
             * Member No Exist （成员不存在）
             */
            public static final String MEMBER_NO_EXIST = "800A0504";

            /**
             * Member No Valid （成员无效）
             */
            public static final String MEMBER_NO_VALID = "800A0505";

            /**
             * 请求字段格式有误
             */
            public static final String ERROR_REQUESTED_OBJECT = "003002";

            /**
             * 新密码为空
             */
            public static final String NEW_PASSWORD_REQUIRED = "800A0203";

            // user部分
            /**
             * @Fields USER_NOT_FOUND :找不到该用户
             */
            public static final String USER_NOT_FOUND = "0x80041001";

            /**
             * @Fields REVIEWS_NOT_ACCEPTED : 评论信息长度不足500
             */
            public static final String REVIEWS_NOT_ACCEPTED = "0x8004005";

            /**
             * @Fields SKU_NOT_FOUND : 找不到该SKU
             */
            public static final String SKU_NOT_FOUND = "0x80040011";

            /**
             * @Fields REQUEST_INVALID : 无效的请求（未按要求填写全部内容）
             */
            public static final String REQUEST_INVALID = "0x80041002";

            /**
             * @Fields REVIEW_FETCH_ERROR : 失败 获取评论信息失败
             */
            public static final String REVIEW_FETCH_ERROR = "0x80040002";

            /**
             * @Fields REVIEW_FETCH_SUCCESS : 成功 获取评论信息成功
             */
            public static final String REVIEW_FETCH_SUCCESS = "0x80040001";

            /**
             * @Fields SITEID_INVALID :参数SiteID为空或格式错误
             */
            public static final String SITEID_INVALID = "80342101";

            /**
             * @Fields OBJECT_REFERENCE_ERROR : 未将对象引用设置到对象的实例
             */
            public static final String OBJECT_REFERENCE_ERROR = "0x80000011";

            /**
             * @Fields SKU_INVALID : 参数SKU为空或格式错误
             */
            public static final String SKU_INVALID = "80342103";

            /**
             * @Fields ITEM_ALREADY_EXISTS : 该Wish对象已经存在，无法重复添加
             */
            public static final String ITEM_ALREADY_EXISTS = "80342105";

            /**
             * @Fields WISHLIST_NOT_FOUND :未找到要删除的Wish对象，请核对SKU与UserName参数
             */
            public static final String WISHLIST_NOT_FOUND = "80342104";

            /**
             * 评论信息长度不足500
             */
            public static final String REVIEWS_UNDER_CHARACTERS = "0x80041005";

            /**
             * 参数UserName不能为空
             */
            public static final String USERNAME_NO_REQUIRED = "80342102";

            // CIC错误码
            /**
             * 系统错误
             */
            public static final String SYSTEM_ERROR = "0x80080000";

            /**
             * Request object interior parameters is Invalid
             */
            public static final String PARAMETERS_IS_INVALID = "0x80080001";

            /**
             * Request object interior parameters is null or empty
             */
            public static final String PARAMETERS_IS_NULL = "0x80080002";

            /**
             * Request object interior parameters length too long
             */
            public static final String PARAMETERS_LENGTH_LONG = "0x80080003";

            /**
             * Original record is not exists
             */
            public static final String ORIGINAL_NOT_EXISTS = "0x80080004";

            /**
             * Request object is null
             */
            public static final String REQUEST_OBJECT_NULL = "0x80080005";

            /**
             * The balance is insufficient
             */
            public static final String THE_BALANCE_INSUFFICIENT = "0x80080007";

            /**
             * The original transaction does not exist
             */
            public static final String TRANSACTION_NOT_EXIST = "0x80080008";

            /**
             * Invalid refund amount
             */
            public static final String INVALID_REFUND_AMOUNT = "0x80080009";

            /**
             * Unactivated customer
             */
            public static final String UNACTIVATED_CUSTOMER = "0x8008FFF7";

            /**
             * The third party system error
             */
            public static final String PARTY_SYSTEM_ERROR = "0x8008FFF8";

            /**
             * The account has existed
             */
            public static final String THE_ACCOUNT_EXISTED = "0x8008FFF9";

            /**
             * The client doesn't match
             */
            public static final String THE_CLIENT_MATCH = "0x8008FFFB";

            /**
             * Invalid request
             */
            public static final String INVALID_REQUEST = "0x8008FFFC";

            /**
             * Current user dosen't be assign client
             */
            public static final String CURRENT_USER_ASSIGN = "0x8008FFFD";

            /**
             * Invalid decimal parameter
             */
            public static final String INVALID_DECIMAL_PARAMETER = "0x8008FFFE";

            /**
             * No permission
             */
            public static final String NO_PERMISSION = "0x8008FFFF";

            /**
             * 失败
             */
            public static final String FAILURE = "0x80040002";

            /**
             * 此次自己添加的，DX目前出现此异常，但没有提供此异常码
             */
            public static final String WISHLIST_ADD_ERROR = "80342105";

            /**
             * DMS本地提供的异常码【该商品不存在】
             */
            public static final String WISHLIST_ADD_ERROR1 = "004002";

            /**
             * DMS本地提供的异常码【服务器内部错误】
             */
            public static final String USER_CUSTOMER_ERROR = "003001";

            /**
             * DMS本地提供的异常码【服务器内部错误】
             */
            public static final String WISHLIST_CUSTOMER_ERROR_004001 = "004001";

            /**
             * DMS本地提供的异常码【服务器内部错误】
             */
            public static final String REVIEW_CUSTOMER_ERROR_007001 = "007001";

            /**
             * DMS本地提供的异常码【服务器内部错误】
             */
            public static final String PPC_CUSTOMER_ERROR_008001 = "008001";

            /**
             * DMS本地提供的异常码【服务器内部错误】
             */
            public static final String BANNER_ERROR_010001 = "010001";

            /**
             * DMS本地提供的异常码【参数类型无效】
             */
            public static final String BANNER_ERROR_010002 = "010002";

            /**
             * 用户未激活
             */
            public static final String USER_NONACTIVATED = "800A0214";

        }

        /**
         * 商品相关接口错误返回码定义
         *
         * @author xrj66010
         * @version [版本号, 2012-12-15]
         * @see [相关类/方法]
         * @since [产品/模块版本]
         */

        public final class Product {
            /**
             * 商品已下架
             */
            public static final String PRODUCT_EMPTY = "009002";
        }

        /**
         * 搜索、用户
         *
         * @author xrj66010
         * @version [版本号, 2012-12-21]
         * @see [相关类/方法]
         * @since [产品/模块版本]
         */

        public final class Search {

            /**
             * @Fields INCORRECT_SKU : 输入的Sku格式不正确，将Sku强制转换为int类型错误
             */
            public static final String INCORRECT_SKU = "009001";

            /**
             * 服务异常，请联系管理员或者相关的开发人员
             */
            public static final String SERVER_ABNORMALTY = "001001";

            /**
             * 输入的分类标识格式不正确，将分类标识强制转换为整型错误
             */
            public static final String CATEGORY_FORMAT = "014001";

            /**
             * @Fields SEARCH_CONNECT_ERROR : 服务器连接错误
             */
            public static final String SEARCH_CONNECT_ERROR = "010003";

            /**
             * @Fields PARAMETER_TYPE_INVALID :
             * 参数类型错误,start和take要为int类型(方法的参数类型错误)
             */
            public static final String PARAMETER_TYPE_INVALID = "011002";

            /**
             * @Fields ENGINE_COMMUNICATION_ERROR :搜索引擎通讯错误
             */
            public static final String ENGINE_COMMUNICATION_ERROR = "002003";

            /**
             * @Fields ENGINE_CONNECTION_ERROR :搜索引擎连接错误
             */
            public static final String ENGINE_CONNECTION_ERROR = "002004";

            /**
             * @Fields SEARCH_ENGINE_ERROR :字符串转化整型错误;
             */
            public static final String SEARCH_ENGINE_ERROR = "002001";

            /**
             * @Fields SEARCH_CONNECTION_ERROR : Mongodb数据库连接错误
             */
            public static final String SEARCH_CONNECTION_ERROR = "002002";

            /**
             * @Fields SEARCH_TYPE_ERROR :虚拟分类类型错误
             */
            public static final String SEARCH_TYPE_ERROR = "002005";

            /**
             * @Fields SEARCH_PARAM_ERROR : 分类标识和虚拟分类类型不能全部为null -
             * 什么时候会出现？程序出现bug时 =>当App调用服务，却参数为空的时候出现。
             */
            public static final String SEARCH_PARAM_ERROR = "002006";

            /**
             * @Fields SEARCH_CONVERT_ERROR :将分类标识强制转换为整型错误
             */
            public static final String SEARCH_CONVERT_ERROR = "002007";

            /**
             * @Fields SEARCH_NULL_ERRORS :虚拟分类不能为null - 什么时候会出现？程序出现bug时
             * =>当App调用服务，却参数为空的时候出现。
             */
            public static final String SEARCH_NULL_ERRORS = "002008";

        }

        /**
         * 订单相关接口错误返回码定义
         *
         * @author xrj66010
         * @version [版本号, 2012-12-15]
         * @see [相关类/方法]
         * @since [产品/模块版本]
         */

        public final class Order {

            /**
             * 没有操作的权限
             */
            public static final String UNAUTHORIZED_OPERATION = "0x80040002";

            /**
             * 不正确的API请求
             */
            public static final String INCORRECT_API = "0x80040018";

            /**
             * 缺少必要的参数
             */
            public static final String MISSING_KEY = "0x80040019";

            /**
             * 客户IP不能为空
             */
            public static final String CUSTOMER_IP = "0x80044038";

            /**
             * 找不到Token
             */
            public static final String TOKEN_NOT_FOUND = "0x80042039";

            /**
             * 超过1000条记录
             */
            public static final String RECORDS_FOUND = "0x8004403A";

            /**
             * 请求的对象内部参数错误
             */
            public static final String ERROR_RELATED = "0x80043005";

            /**
             * 请求的对象参数是空值
             */
            public static final String PARAMETERS_OF_REQUESTED = "0x80043006";

            /**
             * 未查询到的数据
             */
            public static final String DATA_NOT_FOUND = "0x80043008";

            /**
             * 请求的对象为空
             */
            public static final String REQUESTED_OBJECT = "0x80043009";

            /**
             * 金额无效
             */
            public static final String INVALID_DOLLAR_AMOUNT = "0x80045017";

            /**
             * 货币币种无效
             */
            public static final String INVALID_CURRENCY = "0x80045019";

            /**
             * 收件人不允许
             */
            public static final String RECIPIENT_NOT_PERMITTED = "0x8004501E";

            /**
             * 创建失败
             */
            public static final String ORDER_CREATION_FAILED = "80010311";

            /**
             * OrderLines长度必须大于零
             */
            public static final String ORDER_QUANTITY_ZERO = "-2147417316";

            /**
             * ShippingAddress是null
             */
            public static final String SHIPPING_ADDRESS_CANNOT = "-2147417315";

            /**
             * LastName是空的
             */
            public static final String LAST_NAME_REQUIRED = "-2147417296";

            /**
             * FirstName是空的
             */
            public static final String FIRST_NAME_EQUIRED = "-2147417297";

            /**
             * PostalCode是空的
             */
            public static final String POSTAL_CODE_REQUIRED = "-2147417295";

            /**
             * 状态是空的
             */
            public static final String STATE_IS_REQUIRED = "-2147417294";

            /**
             * Street1是空的
             */
            public static final String STREET1_IS_REQUIRED = "-2147417293";

            /**
             * 超时过期
             */
            public static final String TIMEOUT_EXPIRED = "80000011";

            /**
             * 销售渠道类型是必需的
             */
            public static final String SALES_CHANNEL_REQUIRED = "80010337";

            /**
             * 订单已经加锁，不能修改
             */
            public static final String DOUBLE_LOCK_ERROR = "8001030A";

            /**
             * Unable Change Order,Order Canceled.
             */
            public static final String ORDER_CONFIRM_ERROR = "8001031B";

        }

        /**
         * 支付相关接口错误返回码定义
         *
         * @author xrj66010
         * @version [版本号, 2012-12-15]
         * @see [相关类/方法]
         * @since [产品/模块版本]
         */

        public final class Payment {
            /**
             * 购买数量不能小于零
             */
            public static final String PURCHASE_QUANTITY_NOT_ZERO = "80010322";

            /**
             * 售价小于零
             */
            public static final String PRODUCT_PRICE_NOT_ZERO = "80010324";

            /**
             * 进价小于零
             */
            public static final String OPENING_PRICE_NOT_ZERO = "80010325";

            /**
             * 增加购买数量不能小于等于零
             */
            public static final String ITEM_QUANTITY_NOT_ZERO = "80010326";

            /**
             * 币种不能为空
             */
            public static final String CURRENCY_MUST_BE_CHOSEN = "80010327";

            /**
             * 城市必填
             */
            public static final String CITY_REQUIRED = "80010328";

            /**
             * FirstName 必填
             */
            public static final String FIRST_NAME_REQUIRED = "80010329";

            /**
             * LastName 必填
             */
            public static final String LAST_NAME_REQUIRED = "8001032A";

            /**
             * PostalCode 必填
             */
            public static final String POSTAL_CODE_REQUIRED = "8001032B";

            /**
             * State 必填
             */
            public static final String STATE_CODE_REQUIRED = "8001032C";

            /**
             * Street1 必填
             */
            public static final String STREET1_REQUIRED = "8001032D";

            /**
             * 城市无效
             */
            public static final String CITY_INVALID = "8001032E";

            /**
             * FirstName无效
             */
            public static final String FIRST_NAME_INVALID = "8001032F";

            /**
             * LastName无效
             */
            public static final String LAST_NAME_INVALID = "80010330";

            /**
             * PostalCode无效
             */
            public static final String POSTAL_CODE_INVALID = "80010331";

            /**
             * State无效
             */
            public static final String STATE_INVALID = "80010332";

            /**
             * Street1无效
             */
            public static final String STREET1_INVALID = "80010333";

            /**
             * SiteID不能为空
             */
            public static final String SITEID_REQUIRED = "80010335";

            /**
             * SiteID值无效
             */
            public static final String SITEID_INVALID = "80010336";

            /**
             * 根据订单的ID没有找到订单
             */
            public static final String ORDERID_NOT_FOUND_BYID = "80010206";

            /**
             * 订单号没有找到
             */
            public static final String ORDERID_NUMBER_NOT_FOUND = "80010207";

            /**
             * 内部错误
             */
            public static final String INTERNAL_ERROR = "0010001";

            /**
             * 请求参数不能为空
             */
            public static final String REQUEST_PARAMETER_NULL = "80010002";

            /**
             * 登录失败
             */
            public static final String LOGIN_FAILED = "80010101";

            /**
             * 拒绝访问
             */
            public static final String ACCESS_DENIED = "80010102";

            /**
             * 缺少参数
             */
            public static final String MISS_PARAMETER = "80010103";

            /**
             * 缺少用户名参数
             */
            public static final String MISS_PARAM_USERNAME = "80010104";

            /**
             * 订单没有找到
             */
            public static final String NOT_FOUND_ORDER = "80010201";

            /**
             * 没有找到系统参数
             */
            public static final String NOT_FOUND_SYSTEMPARAM = "80010202";

            /**
             * 无效的系统参数值
             */
            public static final String INVALID_SYSTEMPARAM = "80010203";

            /**
             * 使用优惠券失败
             */
            public static final String FAILED_APPLY_COUPON = "80010204";

            /**
             * 没有为用户找到概要文件
             */
            public static final String NOT_FOUND_PROFILE_FORUSER = "80010205";

            /**
             * 订单号不能为空
             */
            public static final String ORDER_NUMBER_NOT_NULL = "80010208";

            /**
             * 商品号不能为空
             */
            public static final String PUBLIC_SKU_NOT_NULL = "80010209";

            /**
             * 备注信息有必填项
             */
            public static final String MEMO_IS_REQUIRED = "8001020B";

            /**
             * SKU不能为空
             */
            public static final String SKU_IS_NOTNULL = "8001020C";

            /**
             * 获取价格对象不能为空
             */
            public static final String PRICE_NOTNULL = "8001020D";

            /**
             * 客户编号无效
             */
            public static final String INVALID_USER_NUMBER = "8001020E";

            /**
             * 订单编号无效
             */
            public static final String INVALID_ORDER_NUMBER = "80010301";

            /**
             * 没有将订单锁的状态改变
             */
            public static final String UNABLE_CHANGE_ORDER_LOCK = "80010302";

            /**
             * 不能改变订单无效的装载状态
             */
            public static final String UNABLE_CHANGE_INVALID_SHIPSTATUS = "80010303";

            /**
             * 订单已发货，不能修改订单
             */
            public static final String SHIPMENTS_NOTCHANGE_ORDER = "8001030C";

            /**
             * 不能修改此订单，客服正在修改
             */
            public static final String NOTCHANGE_BY_CUSTOMSERVICE = "8001030E";

            /**
             * 保险金额必须大于零
             */
            public static final String INSURANCE_GREATER_ZERO = "8001031E";

            /**
             * 处理费小于零
             */
            public static final String HANDLFEE_LESS_ZERO = "8001031F";

            /**
             * 运费小于零
             */
            public static final String SHIPFEE_LESS_ZERO = "80010320";

            /**
             * DiscountAmount值无效
             */
            public static final String DISCOUNT_AMOUNT_INVALID = "80010339";

            /**
             * ParentCoupon值无效
             */
            public static final String COUPON_AMOUNT_INVALID = "8001033A";

            /**
             * Coupon已经被取消
             */
            public static final String COUPON_NO_LONGER = "8001033B";

            /**
             * 货币符号不一致 (货币符号=￥、$)
             */
            public static final String CURRENCY_SYMBOL_MISMATCH = "8001033F";

            /**
             * 订单为空
             */
            public static final String EMPTY_ORDER = "80010342";

            /**
             * 查询订单超过指定值
             */
            public static final String ORDER_INQUIRY_ERROR = "8001034A";

            /**
             * 商品购买数量至少为1
             */
            public static final String PRODUCT_PURCHASE_QUANTITY = "80010350";

            /**
             * 没有设置国家代码 (国家代码 = US、CN、AU、EU)
             */
            public static final String COUNTRY_CODE_REQUIRED = "80010351";

            /**
             * 支付币种必填 (币种=美元、港币、日元) Currency is required
             */
            public static final String CURRENCY_IS_REQUIRED = "80010418";

            /**
             * 支付方式必填
             */
            public static final String PAYMENT_METHOD_REQUIRED = "80010419";

            /**
             * 备注不能为空
             */
            public static final String REMARKS_IS_REQUIRED = "80010509";

            /**
             * Parameter PayerID in QueryString is missing.
             */
            public static final String PAYERID_QUERYSTRING_MISSING = "0x80042002";

            /**
             * FirstName is not valid
             */
            public static final String FIRST_NAME_NO_INVALID = "0x80040007";

            /**
             * LastName is not valid
             */
            public static final String LAST_NAME_NO_INVALID = "0x80040008";

            /**
             * Mobile or Phone is not valid
             */
            public static final String PHONE_NUMBER_INVALID = "0x8004000A";

            /**
             * PostalCode is not valid
             */
            public static final String POSTAL_CODE_NO_INVALID = "0x80040009";

            /**
             * Street1 is not valid
             */
            public static final String STRING_STREET1_INVALID = "0x8004002F";

            /**
             * The totals of the cart item amounts do not match order amounts
             */
            public static final String CART_ITEM_TOTAL = "0x80042027";

            /**
             * Product quantity must be greater than 1
             */
            public static final String PRODUCT_QUANTITY_GREATER = "0x80040033";

            /**
             * Product price must be greater than 0 and only have two decimal
             * places
             */
            public static final String PRODUCT_PRICE_GREATER = "0x80040034";

            /**
             * 请求对象异常
             */
            public static final String ERROR_FETCHING_REQUESTED = "001101";

            /**
             * 服务器异常
             */
            public static final String SERVER_ABNORMALTY_ENCOUNTERED = "011000";

            /**
             * 服务器异常
             */
            public static final String SERVER_ABNORMALTY_ENCOUNTERED_001100 = "001100";

            /**
             * 服务器异常
             */
            public static final String SERVER_EXCEPTION = "001000";

            /**
             * 服务器异常
             */
            public static final String PAYMENT_ERROR_005001 = "005001";

            /**
             * 服务器异常
             */
            public static final String PAYMENT_ERROR_006001 = "006001";

            /**
             * 订单中存在US仓商品时编辑订单国家地区
             */
            public static final String PAYMENT_ERROR_006002 = "006002";

            /**
             * 订单中存在EU仓商品时编辑订单国家地区
             */
            public static final String PAYMENT_ERROR_006003 = "006003";

            /**
             * 订单中存在AU仓商品时编辑订单国家地区
             */
            public static final String PAYMENT_ERROR_006004 = "006004";

        }

        /**
         * @author tony
         *         信用卡相关的返回码
         */
        public final class CreditCard {
            //支付卡信息错误返回码
            public static final String CREDITCARD_PAY_ERROR001 = "0x8004405A";
            public static final String CREDITCARD_PAY_ERROR002 = "0x80040011";
            public static final String CREDITCARD_PAY_ERROR003 = "0x80040012";

            //支付状态码
            //成功
            public static final int CREDITCARD_PAYSTATUS_SUCCESS = 0;
            //失败
            public static final int CREDITCARD_PAYSTATUS_FAILED = 1;
            //处理中
            public static final int CREDITCARD_PAYSTATUS_PROCCESSING = 2;
        }

        public static final HashMap<String, Integer> MESSAGEMAP;

        static {
            MESSAGEMAP = new HashMap<String, Integer>();

            /**
             * 用户模块
             */
            // 密码错误
            MESSAGEMAP.put(User.INVALID_PASSWORD, R.string.invalid_password);
            // 用户不存在
            MESSAGEMAP.put(User.ACCOUNT_NOT_EXIST, R.string.account_not_exist);
            // //內部錯誤
            // MESSAGEMAP.put(User.INTERNAL_ERROR_ENCOUNTERED,
            // R.string.internal_error_encountered);
            // //郵件格式錯誤
            // MESSAGEMAP.put(User.EMAIL_FORMAT_ERROR,
            // R.string.email_format_error);
            // UserName为空
            MESSAGEMAP.put(User.USERNAME_REQUIRED, R.string.username_required);
            // UserName已存在
            MESSAGEMAP.put(User.USERNAME_REGISTERED,
                    R.string.username_registered);
            // Email已存在
            MESSAGEMAP.put(User.EMAIL_REGISTERED, R.string.email_registered);
            //产品数量不足
            MESSAGEMAP.put("DMS100005", R.string.product_num_limit);

            MESSAGEMAP.put("DMS100008", R.string.coupon_limit);

            MESSAGEMAP.put("DMS100011", R.string.sku_diff_lib);

            MESSAGEMAP.put("DMS16001", R.string.sku_not_exist);
            //"DMS100007" -- 无库存
            MESSAGEMAP.put("DMS100006", R.string.sku_sync_fail);
            // "DMS100006" -- 库存无法满足，数量不够
            MESSAGEMAP.put("DMS100007", R.string.sku_sync_fail);
            //"DMS100005" -- 产品无效或不存在


            // // 站点不存在
            // MESSAGEMAP.put(User.SITE_NOT_EXIST, R.string.site_not_exist);
            // // 验证请求的参数空
            // MESSAGEMAP.put(User.VALIDATION_PARAMETER_NULL,
            // R.string.validation_parameter_null);
            // // 数组长度过长
            // MESSAGEMAP.put(User.ENTERED_LONG, R.string.entered_long);
            // // 结果为空
            // MESSAGEMAP.put(User.EMPTY_RESULTS, R.string.empty_results);
            // // 原始密码有误
            // MESSAGEMAP.put(User.ORIGINAL_PASSWORD_INCORRECT,
            // R.string.original_password_incorrect);
            // 用户名为空
            MESSAGEMAP.put(User.USERNAME_BLANK, R.string.username_blank);
            // // 匿名用户
            // MESSAGEMAP.put(User.ANONYMOUS_CUSTOMER,
            // R.string.anonymous_customer);
            // // 帐户被激活
            // MESSAGEMAP.put(User.ACCOUNT_ACTIVATE, R.string.account_activate);
            // // 地址不存在
            // MESSAGEMAP.put(User.ADDRESS_NO_EXIST, R.string.address_no_exist);
            // // 地址为空
            // MESSAGEMAP.put(User.ADDRESS_BLANK, R.string.address_blank);
            // // 必须有标题
            // MESSAGEMAP.put(User.TITLE_REQUIRED, R.string.title_required);
            // // 必须有主体
            // MESSAGEMAP.put(User.MESSAGE_REQUIRED, R.string.message_required);
            // // CreditCard不存在
            // MESSAGEMAP.put(User.CREDIT_CARD_NOEXIST,
            // R.string.credit_card_noexist);
            // // CreditCardExist已存在
            // MESSAGEMAP.put(User.CREDIT_CARD_EXIST,
            // R.string.credit_card_exist);
            // // 标记状态不存在
            // MESSAGEMAP.put(User.TOKEN_STATUS_NOEXIST,
            // R.string.token_status_noexist);
            // // 成员不存在
            // MESSAGEMAP.put(User.MEMBER_NO_EXIST, R.string.member_no_exist);
            //
            // // 成员无效
            // MESSAGEMAP.put(User.MEMBER_NO_VALID, R.string.member_no_valid);
            //
            // // 请求字段格式有误
            // MESSAGEMAP.put(User.ERROR_REQUESTED_OBJECT,
            // R.string.error_requested_object);

            // 新密码为空
            MESSAGEMAP.put(User.NEW_PASSWORD_REQUIRED,
                    R.string.new_password_required);

            /**
             * Order模块
             */

            // // 没有操作的权限
            // MESSAGEMAP.put(Order.UNAUTHORIZED_OPERATION,
            // R.string.unauthorized_operation);
            //
            // // 不正确的API请求
            // MESSAGEMAP.put(Order.INCORRECT_API, R.string.incorrect_api);
            //
            // // 缺少必要的参数
            // MESSAGEMAP.put(Order.MISSING_KEY, R.string.missing_key);
            //
            // // 客户IP不能为空
            // MESSAGEMAP.put(Order.CUSTOMER_IP, R.string.customer_ip);
            //
            // // 找不到Token
            // MESSAGEMAP.put(Order.TOKEN_NOT_FOUND, R.string.token_not_found);
            //
            // // 超过1000条记录
            // MESSAGEMAP.put(Order.RECORDS_FOUND, R.string.records_found);
            //
            // // 请求的对象内部参数错误
            // MESSAGEMAP.put(Order.ERROR_RELATED, R.string.error_related);
            //
            // // 请求的对象参数是空值
            // MESSAGEMAP.put(Order.PARAMETERS_OF_REQUESTED,
            // R.string.parameters_of_requested);
            //
            // // 未查询到的数据
            // MESSAGEMAP.put(Order.DATA_NOT_FOUND, R.string.data_not_found);
            //
            // // 请求的对象为空
            // MESSAGEMAP.put(Order.REQUESTED_OBJECT,
            // R.string.requested_object);
            //
            // // 金额无效
            // MESSAGEMAP.put(Order.INVALID_DOLLAR_AMOUNT,
            // R.string.invalid_dollar_amount);
            //
            // // 货币币种无效
            // MESSAGEMAP.put(Order.INVALID_CURRENCY,
            // R.string.invalid_currency);
            //
            // // 收件人不允许
            // MESSAGEMAP.put(Order.RECIPIENT_NOT_PERMITTED,
            // R.string.recipient_not_permitted);
            //
            // // Created Failed
            // MESSAGEMAP.put(Order.ORDER_CREATION_FAILED,
            // R.string.order_creation_failed);
            //
            // // OrderLines length must be bigger than zero
            // MESSAGEMAP.put(Order.ORDER_QUANTITY_ZERO,
            // R.string.order_quantity_zero);
            //
            // // ShippingAddress is null
            // MESSAGEMAP.put(Order.SHIPPING_ADDRESS_CANNOT,
            // R.string.shipping_address_cannot);
            //
            // // FirstName is Empty
            // MESSAGEMAP.put(Order.FIRST_NAME_EQUIRED,
            // R.string.first_name_equired);
            //
            // // State is Empty
            // MESSAGEMAP.put(Order.STATE_IS_REQUIRED,
            // R.string.State_is_required);
            //
            // // Street1 is Empty
            // MESSAGEMAP.put(Order.STREET1_IS_REQUIRED,
            // R.string.street1_is_required);
            //
            // // Timeout expired
            // MESSAGEMAP.put(Order.TIMEOUT_EXPIRED, R.string.timeout_expired);
            //
            // // Sales channel type is required
            // MESSAGEMAP.put(Order.SALES_CHANNEL_REQUIRED,
            // R.string.sales_channel_required);
            //
            // // 售价小于零
            // MESSAGEMAP.put(Payment.PRODUCT_PRICE_NOT_ZERO,
            // R.string.product_price_not_zero);
            //
            // // 进价小于零
            // MESSAGEMAP.put(Payment.OPENING_PRICE_NOT_ZERO,
            // R.string.opening_price_not_zero);
            //
            // // 增加购买数量不能小于等于零
            // MESSAGEMAP.put(Payment.ITEM_QUANTITY_NOT_ZERO,
            // R.string.item_quantity_not_zero);
            //
            // // 币种不能为空
            // MESSAGEMAP.put(Payment.CURRENCY_MUST_BE_CHOSEN,
            // R.string.currency_must_be_chosen);
            //
            // // 城市必填
            // MESSAGEMAP.put(Payment.CITY_REQUIRED, R.string.city_required);
            //
            // // FirstName 必填
            // MESSAGEMAP.put(Payment.FIRST_NAME_REQUIRED,
            // R.string.first_name_required);
            //
            // // LastName 必填
            // MESSAGEMAP.put(Payment.LAST_NAME_REQUIRED,
            // R.string.last_name_required);
            //
            // // PostalCode 必填
            // MESSAGEMAP.put(Payment.POSTAL_CODE_REQUIRED,
            // R.string.postal_code_required);
            //
            // // State 必填
            // MESSAGEMAP.put(Payment.STATE_CODE_REQUIRED,
            // R.string.state_code_required);
            //
            // // Street1 必填
            // MESSAGEMAP.put(Payment.STREET1_REQUIRED,
            // R.string.street1_required);
            //
            // // 城市无效
            // MESSAGEMAP.put(Payment.CITY_INVALID, R.string.city_invalid);
            //
            // // FirstName无效
            // MESSAGEMAP.put(Payment.FIRST_NAME_INVALID,
            // R.string.first_name_invalid);
            //
            // // LastName无效
            // MESSAGEMAP.put(Payment.LAST_NAME_INVALID,
            // R.string.last_name_invalid);
            //
            // // PostalCode无效
            // MESSAGEMAP.put(Payment.POSTAL_CODE_INVALID,
            // R.string.postal_code_invalid);
            //
            // // State无效
            // MESSAGEMAP.put(Payment.STATE_INVALID, R.string.state_invalid);
            //
            // // Street1无效
            // MESSAGEMAP.put(Payment.STREET1_INVALID,
            // R.string.street1_invalid);
            //
            // // SiteID不能为空
            // MESSAGEMAP.put(Payment.SITEID_REQUIRED,
            // R.string.siteid_required);
            //
            // // SiteID值无效
            // MESSAGEMAP.put(Payment.SITEID_INVALID, R.string.siteid_invalid);

            /**
             * payment模块
             */
            // // 根据订单的ID没有找到订单
            // MESSAGEMAP.put(Payment.ORDERID_NOT_FOUND_BYID,
            // R.string.orderid_not_found_byid);
            //
            // // 订单号没有找到
            // MESSAGEMAP.put(Payment.ORDERID_NUMBER_NOT_FOUND,
            // R.string.orderid_number_not_found);
            //
            // // 内部错误
            // MESSAGEMAP.put(Payment.INTERNAL_ERROR, R.string.internal_error);
            //
            // // 请求参数不能为空
            // MESSAGEMAP.put(Payment.REQUEST_PARAMETER_NULL,
            // R.string.request_parameter_null);
            //
            // // 登录失败
            // MESSAGEMAP.put(Payment.LOGIN_FAILED, R.string.login_failed);
            //
            // // 拒绝访问
            // MESSAGEMAP.put(Payment.ACCESS_DENIED, R.string.access_denied);
            //
            // // 缺少参数
            // MESSAGEMAP.put(Payment.MISS_PARAMETER, R.string.miss_parameter);
            //
            // // 缺少用户名参数
            // MESSAGEMAP.put(Payment.MISS_PARAM_USERNAME,
            // R.string.miss_param_username);
            //
            // // 订单没有找到
            // MESSAGEMAP.put(Payment.NOT_FOUND_ORDER,
            // R.string.not_found_order);
            //
            // // 没有找到系统参数
            // MESSAGEMAP.put(Payment.NOT_FOUND_SYSTEMPARAM,
            // R.string.not_found_systemparam);
            //
            // // 无效的系统参数值
            // MESSAGEMAP.put(Payment.INVALID_SYSTEMPARAM,
            // R.string.invalid_systemparam);
            //
            // // 使用优惠券失败
            // MESSAGEMAP.put(Payment.FAILED_APPLY_COUPON,
            // R.string.failed_apply_coupon);
            //
            // // 没有为用户找到概要文件
            // MESSAGEMAP.put(Payment.NOT_FOUND_PROFILE_FORUSER,
            // R.string.not_found_profile_foruser);
            //
            // // 订单号不能为空
            // MESSAGEMAP.put(Payment.ORDER_NUMBER_NOT_NULL,
            // R.string.order_number_not_null);
            //
            // // 商品号不能为空
            // MESSAGEMAP.put(Payment.PUBLIC_SKU_NOT_NULL,
            // R.string.public_sku_not_null);
            //
            // // 备注信息有必填项
            // MESSAGEMAP.put(Payment.MEMO_IS_REQUIRED,
            // R.string.memo_is_required);
            //
            // // SKU不能为空
            // MESSAGEMAP.put(Payment.SKU_IS_NOTNULL, R.string.sku_is_notnull);
            //
            // // 获取价格对象不能为空
            // MESSAGEMAP.put(Payment.PRICE_NOTNULL, R.string.price_notnull);
            //
            // // 客户编号无效
            // MESSAGEMAP.put(Payment.INVALID_USER_NUMBER,
            // R.string.invalid_user_number);
            //
            // // 订单编号无效
            // MESSAGEMAP.put(Payment.INVALID_ORDER_NUMBER,
            // R.string.invalid_order_number);
            //
            // // 没有将订单锁的状态改变
            // MESSAGEMAP.put(Payment.UNABLE_CHANGE_ORDER_LOCK,
            // R.string.unable_change_order_lock);
            //
            // // 不能改变订单无效的装载状态
            // MESSAGEMAP.put(Payment.UNABLE_CHANGE_INVALID_SHIPSTATUS,
            // R.string.unable_change_invalid_shipstatus);
            //
            // // 订单已发货，不能修改订单
            // MESSAGEMAP.put(Payment.SHIPMENTS_NOTCHANGE_ORDER,
            // R.string.shipments_notchange_order);
            //
            // // 不能修改此订单，客服正在修改
            // MESSAGEMAP.put(Payment.NOTCHANGE_BY_CUSTOMSERVICE,
            // R.string.notchange_by_customservice);
            //
            // // 保险金额必须大于零
            // MESSAGEMAP.put(Payment.INSURANCE_GREATER_ZERO,
            // R.string.insurance_greater_zero);
            //
            // // 处理费小于零
            // MESSAGEMAP.put(Payment.HANDLFEE_LESS_ZERO,
            // R.string.handlfee_less_zero);
            //
            // // 运费小于零
            // MESSAGEMAP.put(Payment.SHIPFEE_LESS_ZERO,
            // R.string.shipfee_less_zero);

            /**
             * 第二次反复查看遗漏部分
             */

            // //
            // MESSAGEMAP.put(Payment.DISCOUNT_AMOUNT_INVALID,
            // R.string.discount_amount_invalid);
            //
            // // ParentCoupon值无效
            // MESSAGEMAP.put(Payment.COUPON_AMOUNT_INVALID,
            // R.string.coupon_amount_invalid);
            //
            // // Coupon已经被取消
            // MESSAGEMAP.put(Payment.COUPON_NO_LONGER,
            // R.string.coupon_no_longer);
            //
            // // 货币符号不一致 (货币符号=￥、$)
            // MESSAGEMAP.put(Payment.CURRENCY_SYMBOL_MISMATCH,
            // R.string.currency_symbol_mismatch);
            //
            // // 订单为空
            // MESSAGEMAP.put(Payment.EMPTY_ORDER, R.string.empty_order);
            //
            // // 查询订单超过指定值
            // MESSAGEMAP.put(Payment.ORDER_INQUIRY_ERROR,
            // R.string.order_inquiry_error);
            //
            // // 商品购买数量至少为1
            // MESSAGEMAP.put(Payment.PRODUCT_PURCHASE_QUANTITY,
            // R.string.product_purchase_quantity);
            //
            // // 没有设置国家代码 (国家代码 = US、CN、AU、EU)
            // MESSAGEMAP.put(Payment.COUNTRY_CODE_REQUIRED,
            // R.string.country_code_required);
            //
            // // 支付币种必填 (币种=美元、港币、日元) Currency is required
            // MESSAGEMAP.put(Payment.CURRENCY_IS_REQUIRED,
            // R.string.currency_is_required);
            //
            // // 支付方式必填
            // MESSAGEMAP.put(Payment.PAYMENT_METHOD_REQUIRED,
            // R.string.payment_method_required);
            //
            // // 备注不能为空
            // MESSAGEMAP.put(Payment.REMARKS_IS_REQUIRED,
            // R.string.remarks_is_required);
            //
            // // Parameter PayerID in QueryString is missing.
            // MESSAGEMAP.put(Payment.PAYERID_QUERYSTRING_MISSING,
            // R.string.payerid_querystring_missing);
            //
            // // FirstName is not valid
            // MESSAGEMAP.put(Payment.FIRST_NAME_NO_INVALID,
            // R.string.first_name_no_invalid);
            //
            // // LastName is not valid
            // MESSAGEMAP.put(Payment.LAST_NAME_NO_INVALID,
            // R.string.last_name_no_invalid);
            //
            // // Mobile or Phone is not valid
            // MESSAGEMAP.put(Payment.PHONE_NUMBER_INVALID,
            // R.string.phone_number_invalid);
            //
            // // PostalCode is not valid
            // MESSAGEMAP.put(Payment.POSTAL_CODE_NO_INVALID,
            // R.string.postal_code_no_invalid);
            //
            // // Street1 is not valid
            // MESSAGEMAP.put(Payment.STRING_STREET1_INVALID,
            // R.string.string_street1_invalid);
            //
            // // The totals of the cart item amounts do not match order amounts
            // MESSAGEMAP.put(Payment.CART_ITEM_TOTAL,
            // R.string.cart_item_total);
            //
            // // Product quantity must be greater than 1
            // MESSAGEMAP.put(Payment.PRODUCT_QUANTITY_GREATER,
            // R.string.product_quantity_greater);
            //
            // // Product price must be greater than 0 and only have two decimal
            // // places
            // MESSAGEMAP.put(Payment.PRODUCT_PRICE_GREATER,
            // R.string.product_price_greater);
            //
            // // 请求对象异常
            // MESSAGEMAP.put(Payment.ERROR_FETCHING_REQUESTED,
            // R.string.error_fetching_requested);
            //
            // // 服务器异常
            // MESSAGEMAP.put(Payment.SERVER_ABNORMALTY_ENCOUNTERED,
            // R.string.server_abnormalty_encountered);
            //
            // // Parameter Length Is Longer （数组长度过长）
            // MESSAGEMAP.put(User.ENTERED_TOO_LONG, R.string.entered_too_long);
            //
            // // 评论信息长度不足500
            // MESSAGEMAP.put(User.REVIEWS_UNDER_CHARACTERS,
            // R.string.reviews_under_characters);
            //
            // // 参数UserName不能为空
            // MESSAGEMAP.put(User.USERNAME_NO_REQUIRED,
            // R.string.username_no_required);
            //
            // // 字符串转化整型错误
            // MESSAGEMAP.put(Search.SEARCH_ENGINE_ERROR,
            // R.string.search_engine_error);
            //
            // // Mongodb数据库连接错误
            // MESSAGEMAP.put(Search.SEARCH_CONNECTION_ERROR,
            // R.string.search_connection_error);
            //
            // // 虚拟分类类型错误
            // MESSAGEMAP.put(Search.SEARCH_TYPE_ERROR,
            // R.string.search_type_error);
            //
            // // 分类标识和虚拟分类类型不能全部为null - 什么时候会出现？程序出现bug时
            // // =>当App调用服务，却参数为空的时候出现。
            // MESSAGEMAP.put(Search.SEARCH_PARAM_ERROR,
            // R.string.search_param_error);
            //
            // // 将分类标识强制转换为整型错误
            // MESSAGEMAP.put(Search.SEARCH_CONVERT_ERROR,
            // R.string.search_convert_error);
            //
            // // 虚拟分类不能为null - 什么时候会出现？程序出现bug时
            // // =>当App调用服务，却参数为空的时候出现。
            // MESSAGEMAP.put(Search.SEARCH_NULL_ERRORS,
            // R.string.search_null_errors);
            //
            /**
             * CIC错误码
             */

            // // 验证码无效
            // MESSAGEMAP.put(User.VERIFY_CODE_INVALID,
            // R.string.verify_code_invalid);
            //
            // // System error
            // MESSAGEMAP.put(User.SYSTEM_ERROR, R.string.system_error);
            //
            // // Request object interior parameters is Invalid
            // MESSAGEMAP.put(User.PARAMETERS_IS_INVALID,
            // R.string.parameters_is_invalid);
            //
            // // Request object interior parameters is null or empty
            // MESSAGEMAP.put(User.PARAMETERS_IS_NULL,
            // R.string.parameters_is_null);
            //
            // // Request object interior parameters length too long
            // MESSAGEMAP.put(User.PARAMETERS_LENGTH_LONG,
            // R.string.parameters_length_long);
            //
            // // Original record is not exists
            // MESSAGEMAP.put(User.ORIGINAL_NOT_EXISTS,
            // R.string.original_not_exists);
            //
            // // Request object is null
            // MESSAGEMAP.put(User.REQUEST_OBJECT_NULL,
            // R.string.request_object_null);
            //
            // // The balance is insufficient
            // MESSAGEMAP.put(User.THE_BALANCE_INSUFFICIENT,
            // R.string.the_balance_insufficient);
            //
            // // The original transaction does not exist
            // MESSAGEMAP.put(User.TRANSACTION_NOT_EXIST,
            // R.string.transaction_not_exist);
            //
            // // Invalid refund amount
            // MESSAGEMAP.put(User.INVALID_REFUND_AMOUNT,
            // R.string.invalid_refund_amount);
            //
            // // Unactivated customer
            // MESSAGEMAP.put(User.UNACTIVATED_CUSTOMER,
            // R.string.unactivated_customer);
            //
            // // The third party system error
            // MESSAGEMAP.put(User.PARTY_SYSTEM_ERROR,
            // R.string.party_system_error);

            // The account has existedc
            MESSAGEMAP.put(User.THE_ACCOUNT_EXISTED,
                    R.string.the_account_existed);

            // // The client doesn't match
            // MESSAGEMAP.put(User.THE_CLIENT_MATCH, R.string.the_client_match);
            //
            // // Invalid request
            // MESSAGEMAP.put(User.INVALID_REQUEST, R.string.invalid_request);
            //
            // // Current user dosen't be assign client
            // MESSAGEMAP.put(User.CURRENT_USER_ASSIGN,
            // R.string.current_user_assign);
            //
            // // Invalid decimal parameter
            // MESSAGEMAP.put(User.INVALID_DECIMAL_PARAMETER,
            // R.string.invalid_decimal_parameter);
            //
            // // No permission
            // MESSAGEMAP.put(User.NO_PERMISSION, R.string.no_permission);
            //
            // // 此处自己定义的
            // MESSAGEMAP.put(Payment.SERVER_ABNORMALTY_ENCOUNTERED_001100,
            // R.string.server_abnormalty_encountered_001100);

            // 此处自己定义的【重复收藏商品失败】
            MESSAGEMAP
                    .put(User.WISHLIST_ADD_ERROR, R.string.wishlist_add_error);

            // DMS提供的异常码【该商品不存在】
            MESSAGEMAP.put(User.WISHLIST_ADD_ERROR1,
                    R.string.wishlist_add_error1);

            // MESSAGEMAP.put(Payment.SERVER_EXCEPTION,
            // R.string.server_exception);
            // 当前网络不可用
            MESSAGEMAP.put(CLIENT_NET_UN_AVAILABLE,
                    R.string.client_net_un_available);
            // 未知错误
            // MESSAGEMAP.put(VALIDATOR_UNKONW_ERROR,
            // R.string.validator_unkonw_error);
            // 目前错误都暂时显示网络异常
            MESSAGEMAP.put(VALIDATOR_UNKONW_ERROR,
                    R.string.server_busy_retry);

            // MESSAGEMAP.put(Order.ORDER_CONFIRM_ERROR,
            // R.string.order_confirm_error);
            // // 订单已经加锁
            // MESSAGEMAP.put(Order.DOUBLE_LOCK_ERROR,
            // R.string.double_lock_error);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(User.OBJECT_REFERENCE_ERROR,
            // R.string.status_intenal_error);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(User.USER_CUSTOMER_ERROR,
            // R.string.status_intenal_error);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(User.WISHLIST_CUSTOMER_ERROR_004001,
            // R.string.status_intenal_error);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(Payment.PAYMENT_ERROR_005001,
            // R.string.status_intenal_error);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(Payment.PAYMENT_ERROR_006001,
            // R.string.status_intenal_error);
            //
            // MESSAGEMAP.put(Payment.PAYMENT_ERROR_006002,
            // R.string.order_contains_us);
            //
            // MESSAGEMAP.put(Payment.PAYMENT_ERROR_006003,
            // R.string.order_contains_eu);
            //
            // MESSAGEMAP.put(Payment.PAYMENT_ERROR_006004,
            // R.string.order_contains_au);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(User.REVIEW_CUSTOMER_ERROR_007001,
            // R.string.status_intenal_error);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(User.PPC_CUSTOMER_ERROR_008001,
            // R.string.status_intenal_error);
            //
            // // 不正确的SKU
            // MESSAGEMAP.put(Search.INCORRECT_SKU, R.string.incorrect_sku);
            //
            // MESSAGEMAP.put(User.BANNER_ERROR_010001,
            // R.string.status_intenal_error);
            //
            // // 参数类型无效
            // MESSAGEMAP.put(User.BANNER_ERROR_010002,
            // R.string.banner_error_010002);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(VALIDATOR_SERVER_ERROR,
            // R.string.server_abnormalty_encountered);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(NEWSDMS_ERROR_012001,
            // R.string.status_intenal_error);
            //
            // // 参数类型无效
            // MESSAGEMAP.put(NEWSDMS_ERROR_012002,
            // R.string.banner_error_010002);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(NEWSDMS_ERROR_012003,
            // R.string.server_abnormalty_encountered);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(NEWSDMS_ERROR_013001,
            // R.string.server_abnormalty_encountered);
            //
            // // 服务器内部错误
            // MESSAGEMAP.put(NEWSDMS_ERROR_013003,
            // R.string.server_abnormalty_encountered);
            //
            // // 类别格式是不正确的
            // MESSAGEMAP.put(Search.CATEGORY_FORMAT, R.string.category_format);

            // 用户未激活
            MESSAGEMAP.put(User.USER_NONACTIVATED, R.string.user_nonactivated);

            // 连接超时
            // MESSAGEMAP.put(VALIDATOR_CONNECT_TIMEOUT,
            // R.string.validator_connect_timeout);

            //用户重复领Coupon
            MESSAGEMAP.put("80335001", R.string.getcoupon_again);

            //下订单时的国家码错误
            MESSAGEMAP.put("DMS100012", R.string.country_invalid);

            //下单时关于纯电的收货地址异常提示
            MESSAGEMAP.put("8701222F", R.string.cd_unarrival_address);

            //SKU不能发送到选择的收货地址的异常提示
            MESSAGEMAP.put("DMS100020", R.string.sku_address_not_match);
        }

        /**
         * 账号为空
         */
        public static final int VALIDATOR_ACCOUNT_NULL = 0X100101;

        /**
         * 密码为空
         */
        public static final int VALIDATOR_PWD_NULL = 0X100102;

        /**
         * 指定用户账号不存在
         */
        public static final int VALIDATOR_ACCOUNT_NOT_EXIST = 0X100103;

        /**
         * 密码错误
         */
        public static final int VALIDATOR_PWD_ERROR = 0X100104;

        /**
         * 用户未登录
         */
        public static final int VALIDATOR_USER_NOT_LOGIN = 0X100105;

        /**
         * 试图取得的数据记录条数超出限制
         */
        public static final int STATUS_INDEX_OUTOF_BOUND = 0X0001;

        /**
         * 未登录时进行了需要登录才能进行的操作
         */
        public static final int STATUS_NOT_LOGON = 0X0002;

        /**
         * 没有足够的权限访问接口方法
         */
        public static final int STATUS_NOT_PERMISSION = 0X0003;

        /**
         * 要进行的操作的对象不存在
         */
        public static final int STATUS_OBJECT_NOT_EXIST = 0X0004;

        /**
         * 获取记录时，记录的起始位置不能小于0
         */
        public static final int STATUS_INDXE_LESS_THAN_ZERO = 0X0005;

        /**
         * 获取记录时，需要获取记录的条数不能小于1
         */
        public static final int STATUS_INDXE_LESS_THAN_ONE = 0X0006;

        /**
         * 邮箱地址不合法
         */
        public static final int STATUS_EMAIL_INVALID = 0X0007;

        /**
         * 用户不存在
         */
        public static final int STATUS_USER_NOT_EXIST = 0X0008;

        /**
         * 用户名不合法
         */
        public static final int STATUS_USER_NAME_INVALITE = 0X0009;

        /**
         * 用户名已经存在
         */
        public static final int STATUS_USER_NAME_EXIST = 0X0010;

        /**
         * Email已经存在
         */
        public static final int STATUS_EMAIL_EXIST = 0X0011;

        /**
         * USER或者Email已经存在
         */
        public static final int STATUS_EMAIL_USERNAME_EXIST = 0X0020;

        /**
         * 用户已存在
         */
        public static final int STATUS_USER_EXIST = 0X000A;

        /**
         * 密码格式非法
         */
        public static final int STATUS_PASSWORD_INVALID = 0X000B;

        /**
         * 参数不能为空
         */
        public static final int STATUS_PARAMETER_IS_EMPTY = 0X000C;

        /**
         * 用户未激活
         */
        public static final int STATUS_USER_NO_VERIFICATION = 0X0013;

        /**
         * 用户被禁用
         */
        public static final int STATUS_USER_HAD_BANNED = 0X0014;

        /**
         * 用户不存在或用户名密码不正确
         */
        public static final int USER_NOT_EXIST_OR_NAME_AND_PASSWORDINVAID = 0X0015;

        /**
         * SKU对应的产品已过期或不存在
         */
        public static final int STATUS_PRODUCT_NOT_EXIST = 0X0201;

        /**
         * 搜索关键字不能为空
         */
        public static final int STATUS_SEARCH_KEY_IS_NULL = 0X0202;

        /**
         * 添加Wishlist时，Wishlist已经存在
         */
        public static final int STATUS_WISH_EXIST = 0X0203;

    }

    // CouponActive
    public static class CouponActive {
        public static final String COUPON_DISCOUNT_INFO = "CouponDiscountInfo";

        public static final String IS_WHOLE_SITE = "IsWholeSite";

        public static final String CURRENCY_CODE = "CurrencyCode";

        public static final String CURRENCY_CODE_STR = "CurrencyCodeStr";

        public static final String TOTAL_COUNT = "TotalCount";

        public static final String CURRENCY_CATEGORYID = "CurrencyCategoryId";

        public static final String CATEGORIES = "Categories";

        public static final String PRODUCTS = "Products";

        public static final String COUPON = "Coupon";

        public static final String ISMVP = "IsMvp";
    }

    /**
     * @author Tony
     *         多货币相关的返回数据字段名称
     */
    public static class CurrencyField {
        public static final String CURRENCY_COUNTRYCODE = "CountryCode";
        public static final String CURRENCY_CURRENCYCODE = "CurrencyCode";
        public static final String CURRENCY_CURRENCYCODESYMBOL = "CurrencyCodeSymbol";
        public static final String CURRENCY_COUNTRYFLAGURL = "CountryFlagUrl";
        public static final String CURRENCY_CANPAY = "CanPay";
        public static final String CURRENCY_CANSHOW = "CanShow";
    }

    /**
     * @author Tony
     *         用于页面跳转需要的参数名称
     */
    public static class Parameters {
        public static final String PARAMETERS_CURRENCYCODESTR = "CurrencyCodeStr";

        public static final String PARAMETERS_GRANDTOTAL = "GrandTotal";
        public static final String PARAMETERS_SUBTOTAL = "SubTotal";
        public static final String PARAMETERS_DISCOUNT = "Discount";
        public static final String PARAMETERS_RETURNSC = "ReturnSC";
    }

    /**
     * @author Tony
     *         物流信息接口字段名称
     */
    public static class Package {
        public static final String PACKAGES_PACKAGENUMBER = "PackageNumber";
        public static final String PACKAGES_TRACKINGNUM = "TrackingNumber";
        public static final String PACKAGES_ISTRACKING = "IsTracking";
        public static final String PACKAGES_PRODUCTS = "Products";
        public static final String PACKAGES_PACKAGETRACES = "PackageTraces";
        public static final String PACKAGES_TRACETIME = "TraceTime";
        public static final String PACKAGES_TRACE = "Trace";
        public static final String PACKAGES_LASTPACKAGETRACE = "LastPackageTrace";
        public static final String PACKAGES = "Packages";
    }

    /**
     * @author Tony
     *         百分点推荐相关字段名称
     */
    public static class Bfd {
        public static final String BFD_SIMG = "simg";
        public static final String BFD_NAME = "name";
        public static final String BFD_IMG = "img";
        public static final String BFD_URL = "url";
        /*recommend id：
                    1，推荐商品列表页面(单独页面)  ：35D2EFC3_42C8_C470_FEB4_AEB824148D17
                    2，APP首页下方推荐栏    	        ：8E0CE55D_7DFF_DD3D_35F3_68BC02B1BA64
                    3，搜索无结果页面底部推荐栏	：CB2EDE22_CC1B_3F5F_CBD8_58748998AEC5
                    4，购物车为空时 底部推荐栏	：55453C06_2071_D24B_D0DA_6750B8C90523
                    5，支付成功页面的 底部推荐栏	：88AD6FE7_CB50_30A4_96FC_061261623484*/
        //测试环境推荐栏ID
//		public static final String BFD_RID_SINGGLEPAGE = "rec_35D2EFC3_42C8_C470_FEB4_AEB824148D17";
//		public static final String BFD_RID_HOME = "rec_8E0CE55D_7DFF_DD3D_35F3_68BC02B1BA64";
//		public static final String BFD_RID_SEARCH = "rec_CB2EDE22_CC1B_3F5F_CBD8_58748998AEC5";
//		public static final String BFD_RID_CART = "rec_55453C06_2071_D24B_D0DA_6750B8C90523";
//		public static final String BFD_RID_PAYSUCCESS = "rec_88AD6FE7_CB50_30A4_96FC_061261623484";
        //正式环境推荐栏ID
        public static final String BFD_RID_SINGGLEPAGE = "rec_990CADA5_D23D_3A82_424D_275A6ACEA865";
        public static final String BFD_RID_HOME = "rec_1ACA2892_6F67_BE35_397E_7918A3B925FD";
        public static final String BFD_RID_SEARCH = "rec_493C5B05_7882_5161_5C33_B6239302D20B";
        public static final String BFD_RID_CART = "rec_5D12F4E7_57C6_F2AC_CE98_57CCC52D5BDF";
        public static final String BFD_RID_PAYSUCCESS = "rec_5533C5C8_C202_8120_FB34_7A2F1C3CEF95";

    }


    /**
     * 信用卡相关属性
     *
     * @author huangfei
     */
    public static class CreditCard {
        // 唯一编号
        public static final String CREDITCARD_ID = "ID";

        // 唯一编号
        public static final String CREDITCARD_CARD_NUM = "CardNum";

        // 唯一编号
        public static final String CREDITCARD_GATEWAY_TYPE = "GatewayType";

        // 持卡人
        public static final String CREDITCARD_CARDHOLDER = "CardHolder";

        // 前6位数字
        public static final String CREDITCARD_FIRSTSIXDIGITS = "FirstSixDigits";

        // 后4位数字
        public static final String CREDITCARD_LASTFOURDIGITS = "LastFourDigits";

        // 信用卡Token
        public static final String CREDITCARD_TOKEN = "Token";

        // Token状态
        public static final String CREDITCARD_TOKENSTATUS = "TokenStatus";

        // 商户收款帐号唯一标识
        public static final String CREDITCARD_MID = "MID";

        // 备注
        public static final String CREDITCARD_NOTES = "Notes";

        // 信用卡Json Key
        public static final String CREDITCARD_SIMPLECREDITCARD = "SimpleCreditCard";

        // 信用卡条数
        public static final String CREDITCARD_TOTALRECORDS = "TotalRecords";

        // 信用卡类型 EGP/钱宝
        public static final String CREDITCARD_CARDTYPE = "CardType";
    }

    /************************
     * @author Tony
     * @Date:2016-4-1下午6:04:16
     * @描述:一键过滤相关页面的值
     ************************/
    public static class OneKeyFilter {
        //白名单
        public static final String WHITECATEGORY = "WhiteCategory";
        //黑名单
        public static final String BLACKCATEGORY = "BlackCategory";
        //filterBundle
        public static final String FILTERBUNDLE = "FilterBundle";
        //isFilter config key
        public static final String ISFILTERKEY_ONLINE = "_isFilter";
        public static final String ISFILTERKEY_LOCAL = "local_isFilter";
    }

    /************************
     * @author Tony
     * @Date:2016-4-7下午1:58:33
     * @描述:消息中心相关页面常量
     ************************/
    public static class MessageCenter {
        public static final String INTENT_BUNDLE = "MessageIntentBundle";
        public static final String ISPROMOTION = "isPromotion";//是否为活动列表
        public static final String UNREAD_MESSAGE = "UnReadMsg";
        public static final String UNREAD_MESSAGE_COUNT = "UnReadMsgCount";
        public static final String ISSHOWEVENTNOTICE = "isShowEventNotice";
        public static final int TASKID_FEEDBACK = 1;
        public static final int TASKID_SETNOTICEREAD = 2;
    }

    /**
     * @描述：用于传递页面标题ID
     */
    public static final String PAGETITLEID = "PageTitleID";
    public static final int STATUSCOLOR = Color.GRAY;
    public static final int STATUSCOLOR_WHITE = Color.WHITE;
}
